Skip to content

KBE3D / KBCore / Cesium / BoxGraphics / ConstructorOptions

接口: ConstructorOptions

Initialization options for the BoxGraphics constructor

属性

show?

optional show: boolean | Property

A boolean Property specifying the visibility of the box.


dimensions?

optional dimensions: Property | Cartesian3

A Cartesian3 Property specifying the length, width, and height of the box.


heightReference?

optional heightReference: Property | HeightReference

A Property specifying what the height from the entity position is relative to.


fill?

optional fill: boolean | Property

A boolean Property specifying whether the box is filled with the provided material.


material?

optional material: Color | MaterialProperty

A Property specifying the material used to fill the box.


outline?

optional outline: boolean | Property

A boolean Property specifying whether the box is outlined.


outlineColor?

optional outlineColor: Color | Property

A Property specifying the Color of the outline.


outlineWidth?

optional outlineWidth: number | Property

A numeric Property specifying the width of the outline.


shadows?

optional shadows: Property | ShadowMode

An enum Property specifying whether the box casts or receives shadows from light sources.


distanceDisplayCondition?

optional distanceDisplayCondition: Property | DistanceDisplayCondition

A Property specifying at what distance from the camera that this box will be displayed.

KBE3D @3.0.0 Copyright © 2024-present KBE3D