Skip to 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.

Inside Viewer or CesiumWidget component. A primitive object will be attached to the PrimitiveCollection of the Viewer or CesiumWidget.

PropertyTypeDescription
showboolean | undefined
debugShowBoundingVolumeboolean | undefined
modelMatrixMatrix4 | undefined
shadowsShadowMode | undefined
appearanceAppearance | undefined
cullboolean | undefined
depthFailAppearanceAppearance | undefined
PropertyTypeDescription
geometryInstancesGeometryInstance | GeometryInstance[] | undefined
vertexCacheOptimizeboolean | undefined
interleaveboolean | undefined
releaseGeometryInstancesboolean | undefined
allowPickingboolean | undefined
asynchronousboolean | undefined
compressVerticesboolean | undefined

N/A

N/A