Appearance
KBE3D / KBCore / Cesium / PolylineVolumeGraphics
类: PolylineVolumeGraphics
Describes a polyline volume defined as a line strip and corresponding two dimensional shape which is extruded along it. The resulting volume conforms to the curvature of the globe.
参数
Object describing initialization options
属性
definitionChanged
readonlydefinitionChanged:Event
Gets the event that is raised whenever a property or sub-property is changed or modified.
show
show:
Property|undefined
Gets or sets the boolean Property specifying the visibility of the volume.
positions
positions:
Property|undefined
Gets or sets the Property specifying the array of Cartesian3 positions which define the line strip.
shape
shape:
Property|undefined
Gets or sets the Property specifying the array of Cartesian2 positions which define the shape to be extruded.
cornerType
cornerType:
Property|undefined
Gets or sets the CornerType Property specifying the style of the corners.
granularity
granularity:
Property|undefined
Gets or sets the numeric Property specifying the angular distance between points on the volume.
fill
fill:
Property|undefined
Gets or sets the boolean Property specifying whether the volume is filled with the provided material.
material
material:
MaterialProperty
Gets or sets the Property specifying the material used to fill the volume.
outline
outline:
Property|undefined
Gets or sets the Property specifying whether the volume is outlined.
outlineColor
outlineColor:
Property|undefined
Gets or sets the Property specifying the Color of the outline.
outlineWidth
outlineWidth:
Property|undefined
Gets or sets the numeric Property specifying the width of the outline. <p> Note: This property will be ignored on all major browsers on Windows platforms. For details, see (@link https://github.com/CesiumGS/cesium/issues/40\}. </p>
shadows
shadows:
Property|undefined
Get or sets the enum Property specifying whether the volume casts or receives shadows from light sources.
distanceDisplayCondition
distanceDisplayCondition:
Property|undefined
Gets or sets the DistanceDisplayCondition Property specifying at what distance from the camera that this volume will be displayed.
方法
clone()
clone(
result?:PolylineVolumeGraphics):PolylineVolumeGraphics
Duplicates this instance.
参数
result?
PolylineVolumeGraphics
The object onto which to store the result.
返回
PolylineVolumeGraphics
The modified result parameter or a new instance if one was not provided.
merge()
merge(
source:PolylineVolumeGraphics):void
Assigns each unassigned property on this object to the value of the same property on the provided source object.
参数
source
PolylineVolumeGraphics
The object to be merged into this object.
返回
void
构造函数
构造函数
new PolylineVolumeGraphics(
options?:ConstructorOptions):PolylineVolumeGraphics
参数
options?
返回
PolylineVolumeGraphics
