Appearance
KBE3D / KBCore / Cesium / PolylineGraphics / ConstructorOptions
接口: ConstructorOptions
Initialization options for the PolylineGraphics constructor
属性
show?
optionalshow:boolean|Property
A boolean Property specifying the visibility of the polyline.
positions?
optionalpositions:Property|Cartesian3[]
A Property specifying the array of Cartesian3 positions that define the line strip.
width?
optionalwidth:number|Property
A numeric Property specifying the width in pixels.
granularity?
optionalgranularity:number|Property
A numeric Property specifying the angular distance between each latitude and longitude if arcType is not ArcType.NONE.
material?
optionalmaterial:Color|MaterialProperty
A Property specifying the material used to draw the polyline.
depthFailMaterial?
optionaldepthFailMaterial:Color|MaterialProperty
A property specifying the material used to draw the polyline when it is below the terrain.
arcType?
The type of line the polyline segments must follow.
clampToGround?
optionalclampToGround:boolean|Property
A boolean Property specifying whether the Polyline should be clamped to the ground.
shadows?
optionalshadows:Property|ShadowMode
An enum Property specifying whether the polyline casts or receives shadows from light sources.
distanceDisplayCondition?
optionaldistanceDisplayCondition:Property|DistanceDisplayCondition
A Property specifying at what distance from the camera that this polyline will be displayed.
classificationType?
optionalclassificationType:Property|ClassificationType
An enum Property specifying whether this polyline will classify terrain, 3D Tiles, or both when on the ground.
zIndex?
optionalzIndex:number|Property
A Property specifying the zIndex used for ordering ground geometry. Only has an effect if clampToGround is true and polylines on terrain is supported.
