Appearance
KBE3D / KBCore / Cesium / CorridorGraphics / ConstructorOptions
接口: ConstructorOptions
Initialization options for the CorridorGraphics constructor
属性
show?
optionalshow:boolean|Property
A boolean Property specifying the visibility of the corridor.
positions?
optionalpositions:Property|Cartesian3[]
A Property specifying the array of Cartesian3 positions that define the centerline of the corridor.
width?
optionalwidth:number|Property
A numeric Property specifying the distance between the edges of the corridor.
height?
optionalheight:number|Property
A numeric Property specifying the altitude of the corridor relative to the ellipsoid surface.
heightReference?
optionalheightReference:Property|HeightReference
A Property specifying what the height is relative to.
extrudedHeight?
optionalextrudedHeight:number|Property
A numeric Property specifying the altitude of the corridor's extruded face relative to the ellipsoid surface.
extrudedHeightReference?
optionalextrudedHeightReference:Property|HeightReference
A Property specifying what the extrudedHeight is relative to.
cornerType?
optionalcornerType:Property|CornerType
A CornerType Property specifying the style of the corners.
granularity?
optionalgranularity:number|Property
A numeric Property specifying the distance between each latitude and longitude.
fill?
optionalfill:boolean|Property
A boolean Property specifying whether the corridor is filled with the provided material.
material?
optionalmaterial:Color|MaterialProperty
A Property specifying the material used to fill the corridor.
outline?
optionaloutline:boolean|Property
A boolean Property specifying whether the corridor is outlined.
outlineColor?
A Property specifying the Color of the outline.
outlineWidth?
optionaloutlineWidth:number|Property
A numeric Property specifying the width of the outline.
shadows?
optionalshadows:Property|ShadowMode
An enum Property specifying whether the corridor casts or receives shadows from light sources.
distanceDisplayCondition?
optionaldistanceDisplayCondition:Property|DistanceDisplayCondition
A Property specifying at what distance from the camera that this corridor will be displayed.
classificationType?
optionalclassificationType:Property|ClassificationType
An enum Property specifying whether this corridor will classify terrain, 3D Tiles, or both when on the ground.
zIndex?
optionalzIndex: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.
