描述一个被定义为线条的多线体积和相应的两维形状,沿它挤压.
由此产生的数量符合地球的曲率.
| Name | Type | Description |
|---|---|---|
options |
PolylineVolumeGraphics.ConstructorOptions | optional 描述初始化选项的对象 |
Demo:
See:
Members
cornerType : Property|undefined
获取或设置指定角的样式的
CornerType 属性 .
-
Default Value:
CornerType.ROUNDED
readonly definitionChanged : Event
当财产或次级财产被改变或修改时,获取该事件.
distanceDisplayCondition : Property|undefined
Gets or sets the
DistanceDisplayCondition Property specifying at what distance from the camera that this volume will be displayed.
fill : Property|undefined
获取或设置布尔属性, 指定音量是否包含所提供的材料 .
-
Default Value:
true
granularity : Property|undefined
获取或设置数字属性,指定音量各点之间的角距离.
-
Default Value:
{CesiumMath.RADIANS_PER_DEGREE}
material : MaterialProperty
获取或设置属性,指定用于填充音量的材料.
-
Default Value:
Color.WHITE
outline : Property|undefined
获取或设置属性, 指定是否列出音量 .
-
Default Value:
false
outlineColor : Property|undefined
获取或设置指定大纲的
Color 的属性 .
-
Default Value:
Color.BLACK
outlineWidth : Property|undefined
获取或设置指定大纲宽度的数字属性.
Note: This property will be ignored on all major browsers on Windows platforms. For details, see (@link https://github.com/CesiumGS/cesium/issues/40}.
-
Default Value:
1.0
positions : Property|undefined
Gets or sets the Property specifying the array of
Cartesian3 positions which define the line strip.
shadows : Property|undefined
获取或设置 enum 属性, 指定音量
投影或接收来自光源的阴影.
-
Default Value:
ShadowMode.DISABLED
shape : Property|undefined
Gets or sets the Property specifying the array of
Cartesian2 positions which define the shape to be extruded.
show : Property|undefined
获取或设置指定音量可见度的布尔属性.
-
Default Value:
true
Methods
clone(result) → PolylineVolumeGraphics
重复这个例子.
| Name | Type | Description |
|---|---|---|
result |
PolylineVolumeGraphics | optional 存储结果的对象 . |
Returns:
未提供修改的结果参数或新实例 .
指定该对象上每个未指定属性的值
- 提供源对象上的同一财产.
| Name | Type | Description |
|---|---|---|
source |
PolylineVolumeGraphics | 要合并成此天体的对象. |
Type Definitions
PolylineVolumeGraphics 构造器的初始化选项
Properties:
| Name | Type | Attributes | Default | Description |
|---|---|---|---|---|
show |
Property | boolean |
<optional> |
real | 一个布尔属性,指定音量的能见度. |
positions |
Property | Array.<Cartesian3> |
<optional> |
A Property specifying the array of Cartesian3 positions which define the line strip. |
|
shape |
Property | Array.<Cartesian2> |
<optional> |
A Property specifying the array of Cartesian2 positions which define the shape to be extruded. |
|
cornerType |
Property | CornerType |
<optional> |
CornerType.ROUNDED | A CornerType Property specifying the style of the corners. |
granularity |
Property | number |
<optional> |
Cesium.Math.RADIANS_PER_DEGREE | A numeric Property specifying the angular distance between each latitude and longitude point. |
fill |
Property | boolean |
<optional> |
true | A boolean Property specifying whether the volume is filled with the provided material. |
material |
MaterialProperty | Color |
<optional> |
Color.WHITE | A Property specifying the material used to fill the volume. |
outline |
Property | boolean |
<optional> |
false | A boolean Property specifying whether the volume is outlined. |
outlineColor |
Property | Color |
<optional> |
Color.BLACK | A Property specifying the Color of the outline. |
outlineWidth |
Property | number |
<optional> |
1.0 | 指定大纲宽度的数值属性. |
shadows |
Property | ShadowMode |
<optional> |
ShadowMode.DISABLED | An enum Property specifying whether the volume casts or receives shadows from light sources. |
distanceDisplayCondition |
Property | DistanceDisplayCondition |
<optional> |
指定此卷显示距离相机的属性 . |