Skip to main content

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

PropertyTypeDescription
showboolean
debugShowBoundingVolumeboolean
modelMatrixMatrix4
shadowsShadowMode
appearanceAppearance
depthFailAppearanceAppearance
cullboolean

Cesium read-only properties

PropertyTypeDescription
geometryInstancesGeometryInstance | GeometryInstance[]
vertexCacheOptimizeboolean
interleaveboolean
releaseGeometryInstancesboolean
allowPickingboolean
asynchronousboolean
compressVerticesboolean

Cesium events

N/A

Other properties

N/A