Appearance
BillboardPrimitive (Billboard Primitive)
Create and manage a billboard primitive object.
Constructor
ts
new ge3d.feature.BillboardPrimitive(options?: {}): BillboardPrimitiveParameters (StyleOptions)
| Parameter | Type | Default | Description |
|---|---|---|---|
| position | Array/String/Cesium.Cartesian3 | - | Coordinate position |
| image | String | - | Image address |
| scale | Number | 1.0 | Scale ratio |
| rotation | Number | 0 | Rotation angle |
| width | Number | - | Width (pixels) |
| height | Number | - | Height (pixels) |
| color | String | #FFFFFF | Color |
| opacity | Number | 1.0 | Opacity |
Properties
| Property | Type | Description |
|---|---|---|
| position | Cesium.Cartesian3 | Coordinate position |
| show | Boolean | Whether to display |
Methods
setStyle
Set style
ts
setStyle(style: Object): voidremove
Remove object
ts
remove(): void