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
Section titled “Availability”Inside Viewer or CesiumWidget component. A primitive object will be attached to the PrimitiveCollection of the Viewer or CesiumWidget.
Properties
Section titled “Properties”Cesium properties
Section titled “Cesium properties”| Property | Type | Description |
|---|---|---|
| show | boolean | undefined | |
| debugShowBoundingVolume | boolean | undefined | |
| modelMatrix | Matrix4 | undefined | |
| shadows | ShadowMode | undefined | |
| appearance | Appearance | undefined | |
| cull | boolean | undefined | |
| depthFailAppearance | Appearance | undefined |
Cesium read-only properties
Section titled “Cesium read-only properties”| Property | Type | Description |
|---|---|---|
| geometryInstances | GeometryInstance | GeometryInstance[] | undefined | |
| vertexCacheOptimize | boolean | undefined | |
| interleave | boolean | undefined | |
| releaseGeometryInstances | boolean | undefined | |
| allowPicking | boolean | undefined | |
| asynchronous | boolean | undefined | |
| compressVertices | boolean | undefined |
Cesium events
Section titled “Cesium events”N/A
Other properties
Section titled “Other properties”N/A