BoxGraphics

new BoxGraphics()

An optionally time-dynamic box.

Members

readonlydefinitionChanged :Event

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

dimensions :Property

Gets or sets the Cartesian3 Property specifying the dimensions of the box.

fill :Property

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

material :MaterialProperty

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

outline :Property

Gets or sets the Boolean Property specifying whether the box 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.

show :Property

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

Methods

clone(result)BoxGraphics

Duplicates a BoxGraphics instance.
Name Type Description
result BoxGraphics 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 BoxGraphics The object to be merged into this object.