BillboardGraphics

new BillboardGraphics()

An optionally time-dynamic billboard.

Members

alignedAxis :Property

Gets or sets the Cartesian3 Property specifying the billboard rotation's aligned axis.

color :Property

Gets or sets the Color Property specifying the billboard's color.

readonlydefinitionChanged :Event

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

eyeOffset :Property

Gets or sets the Cartesian3 Property specifying the billboard's eye offset.

height :Property

Gets or sets the numeric Property specifying the billboard's height in pixels. If undefined, the native height is used.

horizontalOrigin :Property

Gets or sets the HorizontalOrigin Property specifying the billboard's horizontal origin.

image :Property

Gets or sets the string Property specifying the URL of the billboard's texture.

pixelOffset :Property

Gets or sets the Cartesian2 Property specifying the billboard's pixel offset.

pixelOffsetScaleByDistance :Property

Gets or sets the NearFarScalar Property used to set pixel offset scaling based on distance. If undefined, no additional scale is applied to the pixel offset

rotation :Property

Gets or sets the numeric Property specifying the billboard's rotation.

scale :Property

Gets or sets the numeric Property specifying the billboard's scale.

scaleByDistance :Property

Gets or sets the NearFarScalar Property used to scale billboards based on distance. If undefined, a constant size is used.

show :Property

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

translucencyByDistance :Property

Gets or sets the NearFarScalar Property used to set translucency based on distance. If undefined, a constant size is used.

verticalOrigin :Property

Gets or sets the VerticalOrigin Property specifying the billboard's vertical origin.

width :Property

Gets or sets the numeric Property specifying the billboard's width in pixels. If undefined, the native width is used.

Methods

clone(result)BillboardGraphics

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