Primitive
Primitive is a basic primitive in the PrimitiveCollection.
Primitive is a low layer API for geographical visualization. Entity is more recommended unless performance issues.
Availability
Inside Viewer or CesiumWidget component. A primitive object will be attached to the PrimitiveCollection of the Viewer or CesiumWidget.
Properties
Cesium properties
| Property | Type | Description |
|---|---|---|
| show | boolean | |
| debugShowBoundingVolume | boolean | |
| modelMatrix | Matrix4 | |
| shadows | ShadowMode | |
| appearance | Appearance | |
| cull | boolean | |
| depthFailAppearance | Appearance |
Cesium read-only properties
| Property | Type | Description |
|---|---|---|
| geometryInstances | GeometryInstance | GeometryInstance[] | |
| vertexCacheOptimize | boolean | |
| interleave | boolean | |
| releaseGeometryInstances | boolean | |
| allowPicking | boolean | |
| asynchronous | boolean | |
| compressVertices | boolean |
Cesium events
N/A
Other properties
N/A