Skip to content

KBE3D / KBCore / Cesium / CorridorGraphics / ConstructorOptions

接口: ConstructorOptions

Initialization options for the CorridorGraphics constructor

属性

show?

optional show: boolean | Property

A boolean Property specifying the visibility of the corridor.


positions?

optional positions: Property | Cartesian3[]

A Property specifying the array of Cartesian3 positions that define the centerline of the corridor.


width?

optional width: number | Property

A numeric Property specifying the distance between the edges of the corridor.


height?

optional height: number | Property

A numeric Property specifying the altitude of the corridor relative to the ellipsoid surface.


heightReference?

optional heightReference: Property | HeightReference

A Property specifying what the height is relative to.


extrudedHeight?

optional extrudedHeight: number | Property

A numeric Property specifying the altitude of the corridor's extruded face relative to the ellipsoid surface.


extrudedHeightReference?

optional extrudedHeightReference: Property | HeightReference

A Property specifying what the extrudedHeight is relative to.


cornerType?

optional cornerType: Property | CornerType

A CornerType Property specifying the style of the corners.


granularity?

optional granularity: number | Property

A numeric Property specifying the distance between each latitude and longitude.


fill?

optional fill: boolean | Property

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


material?

optional material: Color | MaterialProperty

A Property specifying the material used to fill the corridor.


outline?

optional outline: boolean | Property

A boolean Property specifying whether the corridor 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 corridor casts or receives shadows from light sources.


distanceDisplayCondition?

optional distanceDisplayCondition: Property | DistanceDisplayCondition

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


classificationType?

optional classificationType: Property | ClassificationType

An enum Property specifying whether this corridor will classify terrain, 3D Tiles, or both when on the ground.


zIndex?

optional zIndex: number | ConstantProperty

A Property specifying the zIndex of the corridor, used for ordering. Only has an effect if height and extrudedHeight are undefined, and if the corridor is static.

KBE3D @3.0.0 Copyright © 2024-present KBE3D