CorridorGraphics

new CorridorGraphics()

An optionally time-dynamic corridor.

Members

cornerType :Property

Gets or sets the CornerType Property specifying how corners are triangulated.

readonlydefinitionChanged :Event

Gets the event that is raised whenever a new property is assigned.

extrudedHeight :Property

Gets or sets the Number Property specifying the extruded height of the corridor. Setting this property creates a corridor shaped volume starting at height and ending at the extruded height.

fill :Property

Gets or sets the Boolean Property specifying whether the corridor should be filled.

granularity :Property

Gets or sets the Number Property specifying the sampling distance, in radians, between each latitude and longitude point.

height :Property

Gets or sets the Number Property specifying the height of the corridor. If undefined, the corridor will be on the surface.

material :MaterialProperty

Gets or sets the MaterialProperty specifying the appearance of the corridor.

outline :Property

Gets or sets the Boolean Property specifying whether the corridor should be outlined.

outlineColor :Property

Gets or sets the Color Property specifying whether the color of the outline.

outlineWidth :Property

Gets or sets the Number Property specifying the width of the outline.

positions :Property

Gets or sets the positions.

show :Property

Gets or sets the boolean Property specifying the corridor's visibility.

width :Property

Gets or sets the Number Property specifying the rotation of the texture coordinates, in radians. A positive rotation is counter-clockwise.

Methods

clone(result)CorridorGraphics

Duplicates a CorridorGraphics instance.
Name Type Description
result CorridorGraphics optional The object onto which to store the result.
Returns:
The modified result parameter or a new instance if one was not provided.

merge(source)

Assigns each unassigned property on this object to the value of the same property on the provided source object.
Name Type Description
source CorridorGraphics The object to be merged into this object.