Skip to main content

Model

Properties

Cesium properties

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

Cesium read-only properties

PropertyTypeDescription
basePathstring | Resource
classificationTypeClassificationType
sceneScene
environmentMapOptionsConstructorOptions
enableShowOutlineboolean
projectTo2Dboolean
enablePickboolean
enableDebugWireframeboolean
allowPickingboolean
asynchronousboolean
creditstring | Credit
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>