PointPrimitive
PointPrimitive is a point primitive in the PointPrimitiveCollection.
Primitive is a low layer API for geographical visualization. Entity is more recommended unless performance issues.
- Cesium element: PointPrimitive
- Example: PointPrimitive
Availability
Section titled “Availability”Only inside PointPrimitiveCollection component. A point object will be attached to the parent PointPrimitiveCollection.
Properties
Section titled “Properties”Cesium properties
Section titled “Cesium properties”| Property | Type | Description |
|---|---|---|
| color | Color | |
| disableDepthTestDistance | number | |
| distanceDisplayCondition | DistanceDisplayCondition | |
| position | Cartesian3 | |
| scaleByDistance | NearFarScalar | |
| show | boolean | |
| splitDirection | SplitDirection | |
| translucencyByDistance | NearFarScalar | |
| id | any | |
| outlineColor | Color | |
| outlineWidth | number | |
| pixelSize | number |
Cesium read-only properties
Section titled “Cesium read-only properties”N/A
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 |