ClassificationPrimitive
ClassificationPrimitive is a classification primitive in the PrimitiveCollection.
Primitive is a low layer API for geographical visualization. Entity is more recommended unless performance issues.
- Cesium element: ClassificationPrimitive
- Example: ClassificationPrimitive
Availability
Section titled “Availability”Inside Viewer, CesiumWidget, or GroundPrimitiveCollection component. If this component is inside GroundPrimitiveCollection component, a classification primitive object will be attached to the ground primitive collection of the scene. Otherwise, a classification 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 | |
| classificationType | ClassificationType | undefined | |
| debugShowShadowVolume | boolean | undefined |
Cesium read-only properties
Section titled “Cesium read-only properties”| Property | Type | Description |
|---|---|---|
| geometryInstances | any[] | GeometryInstance | undefined | |
| vertexCacheOptimize | boolean | undefined | |
| interleave | boolean | undefined | |
| releaseGeometryInstances | boolean | undefined | |
| allowPicking | boolean | undefined | |
| asynchronous | boolean | undefined | |
| compressVertices | boolean | undefined | |
| appearance | Appearance | undefined |
Cesium events
Section titled “Cesium events”N/A
Other properties
Section titled “Other properties”| Property | Type | Description |
|---|---|---|
| onClick | ((movement: CesiumMovementEvent, target: T) => void) | undefined | |
| onDoubleClick | ((movement: CesiumMovementEvent, target: T) => void) | undefined | |
| onMouseDown | ((movement: CesiumMovementEvent, target: T) => void) | undefined | |
| onMouseUp | ((movement: CesiumMovementEvent, target: T) => void) | undefined | |
| onMiddleClick | ((movement: CesiumMovementEvent, target: T) => void) | undefined | |
| onMiddleDown | ((movement: CesiumMovementEvent, target: T) => void) | undefined | |
| onMiddleUp | ((movement: CesiumMovementEvent, target: T) => void) | undefined | |
| onMouseMove | ((movement: CesiumMovementEvent, target: T) => void) | undefined | |
| onPinchEnd | ((movement: CesiumMovementEvent, target: T) => void) | undefined | |
| onPinchMove | ((movement: CesiumMovementEvent, target: T) => void) | undefined | |
| onPinchStart | ((movement: CesiumMovementEvent, target: T) => void) | undefined | |
| onRightClick | ((movement: CesiumMovementEvent, target: T) => void) | undefined | |
| onRightDown | ((movement: CesiumMovementEvent, target: T) => void) | undefined | |
| onRightUp | ((movement: CesiumMovementEvent, target: T) => void) | undefined | |
| onMouseEnter | ((movement: CesiumMovementEvent, target: T) => void) | undefined | |
| onMouseLeave | ((movement: CesiumMovementEvent, target: T) => void) | undefined | |
| onReady | ((primitive: ClassificationPrimitive) => void) | undefined | Calls when Primitive#readyPromise is fullfilled |