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.

Property Type Description
show boolean | undefined
debugShowBoundingVolume boolean | undefined
modelMatrix Matrix4 | undefined
shadows ShadowMode | undefined
appearance Appearance | undefined
cull boolean | undefined
depthFailAppearance Appearance | undefined
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

N/A

N/A