Skip to content

BillboardPrimitive (Billboard Primitive)

Create and manage a billboard primitive object.

Constructor

ts
new ge3d.feature.BillboardPrimitive(options?: {}): BillboardPrimitive

Parameters (StyleOptions)

ParameterTypeDefaultDescription
positionArray/String/Cesium.Cartesian3-Coordinate position
imageString-Image address
scaleNumber1.0Scale ratio
rotationNumber0Rotation angle
widthNumber-Width (pixels)
heightNumber-Height (pixels)
colorString#FFFFFFColor
opacityNumber1.0Opacity

Properties

PropertyTypeDescription
positionCesium.Cartesian3Coordinate position
showBooleanWhether to display

Methods

setStyle

Set style

ts
setStyle(style: Object): void

remove

Remove object

ts
remove(): void