Skip to main content

Model

Properties

Cesium properties

PropertyTypeDescription
colorColor
distanceDisplayConditionDistanceDisplayCondition
heightReferenceHeightReference
scalenumber
showboolean
idany
debugShowBoundingVolumeboolean
modelMatrixMatrix4
outlineColorColor
shadowsShadowMode
clippingPlanesClippingPlaneCollection
lightColorCartesian3
colorBlendAmountnumber
colorBlendModeCesium3DTileColorBlendMode | ColorBlendMode
debugWireframeboolean
styleCesium3DTileStyle
backFaceCullingboolean
splitDirectionSplitDirection
customShaderCustomShader
imageBasedLightingImageBasedLighting
showCreditsOnScreenboolean
featureIdLabelstring
instanceFeatureIdLabelstring
showOutlineboolean
clampAnimationsboolean
maximumScalenumber
minimumPixelSizenumber
silhouetteColorColor
silhouetteSizenumber

Cesium read-only properties

PropertyTypeDescription
heightReferenceHeightReference
classificationTypeClassificationType
basePathstring | Resource
enableShowOutlineboolean
projectTo2Dboolean
enablePickboolean
enableDebugWireframeboolean
sceneScene
allowPickingboolean
asynchronousboolean
errorEventEvent<(...args: any[]) => void>
creditstring | Credit
readyEventEvent<(...args: any[]) => void>
texturesReadyEventEvent<(...args: any[]) => void>
incrementallyLoadTexturesboolean
releaseGltfJsonboolean
cullboolean
opaquePassboolean
upAxisAxis
forwardAxisAxis
contentCesium3DTileContent
gltfCallbackGltfCallback
gltf

Cesium events

N/A

Other properties

PropertyTypeDescription
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) => voidCalls when the model is completely loaded.
onError(err: unknown) => void
urlstring | Resource | Promise<Resource>