Model
Properties
Cesium properties
| Property | Type | Description |
|---|---|---|
| color | Color | |
| distanceDisplayCondition | DistanceDisplayCondition | |
| heightReference | HeightReference | |
| scale | number | |
| show | boolean | |
| splitDirection | SplitDirection | |
| id | any | |
| debugShowBoundingVolume | boolean | |
| modelMatrix | Matrix4 | |
| outlineColor | Color | |
| shadows | ShadowMode | |
| clippingPlanes | ClippingPlaneCollection | |
| clippingPolygons | ClippingPolygonCollection | |
| lightColor | Cartesian3 | |
| colorBlendAmount | number | |
| colorBlendMode | Cesium3DTileColorBlendMode | ColorBlendMode | |
| debugWireframe | boolean | |
| style | Cesium3DTileStyle | |
| backFaceCulling | boolean | |
| showOutline | boolean | |
| customShader | CustomShader | |
| imageBasedLighting | ImageBasedLighting | |
| showCreditsOnScreen | boolean | |
| featureIdLabel | string | |
| instanceFeatureIdLabel | string | |
| pointCloudShading | PointCloudShading | |
| clampAnimations | boolean | |
| enableVerticalExaggeration | boolean | |
| maximumScale | number | |
| minimumPixelSize | number | |
| silhouetteColor | Color | |
| silhouetteSize | number |
Cesium read-only properties
| Property | Type | Description |
|---|---|---|
| basePath | string | Resource | |
| classificationType | ClassificationType | |
| scene | Scene | |
| environmentMapOptions | ConstructorOptions | |
| enableShowOutline | boolean | |
| projectTo2D | boolean | |
| enablePick | boolean | |
| enableDebugWireframe | boolean | |
| allowPicking | boolean | |
| asynchronous | boolean | |
| credit | string | Credit | |
| incrementallyLoadTextures | boolean | |
| releaseGltfJson | boolean | |
| cull | boolean | |
| opaquePass | boolean | |
| upAxis | Axis | |
| forwardAxis | Axis | |
| content | Cesium3DTileContent | |
| gltfCallback | GltfCallback | |
| gltf |
Cesium events
N/A
Other properties
| Property | Type | Description |
|---|---|---|
| onClick | (movement: CesiumMovementEvent, target: T) => void | |
| onDoubleClick | (movement: CesiumMovementEvent, target: T) => void | |
| onMouseDown | (movement: CesiumMovementEvent, target: T) => void | |
| onMouseUp | (movement: CesiumMovementEvent, target: T) => void | |
| onMiddleClick | (movement: CesiumMovementEvent, target: T) => void | |
| onMiddleDown | (movement: CesiumMovementEvent, target: T) => void | |
| onMiddleUp | (movement: CesiumMovementEvent, target: T) => void | |
| onMouseMove | (movement: CesiumMovementEvent, target: T) => void | |
| onPinchEnd | (movement: CesiumMovementEvent, target: T) => void | |
| onPinchMove | (movement: CesiumMovementEvent, target: T) => void | |
| onPinchStart | (movement: CesiumMovementEvent, target: T) => void | |
| onRightClick | (movement: CesiumMovementEvent, target: T) => void | |
| onRightDown | (movement: CesiumMovementEvent, target: T) => void | |
| onRightUp | (movement: CesiumMovementEvent, target: T) => void | |
| onMouseEnter | (movement: CesiumMovementEvent, target: T) => void | |
| onMouseLeave | (movement: CesiumMovementEvent, target: T) => void | |
| onReady | (model: Model) => void | Calls when the model is completely loaded. |
| onError | (err: unknown) => void | |
| url | string | Resource | Promise<Resource> |