MarkMaterialPolylineGlow

MarkMaterialPolylineGlow

线型发光材质。

Constructor

new MarkMaterialPolylineGlow(optionsopt)

Author:
  • zpc
Example
var polylineGlow = new MarkPolyline({
     positions : [
         new GeoPosition(-75, 37, 500000),
         new GeoPosition(-125, 37, 500000)
     ],
     material : new MarkMaterialPolylineGlow({
         color : Cesium.Color.YELLOW,
         glowPower : 1,
         taperPower : 0.5
     }),
     width : 5
 });
Parameters:
Name Type Attributes Description
options Object <optional>
此对象拥有以下属性:
Properties
Name Type Attributes Default Description
color Cesium.Color <optional>
Color.WHITE 颜色。
glowPower Number <optional>
0.25 用于指定发光强度,以总线宽的百分比表示。
taperPower Number <optional>
1.0 锥型效果强度。

Extends

Members

color :Cesium.Color

Default Value:
  • Cesium.Color.WHITE
获取或设置发光材质的颜色。
Type:
  • Cesium.Color

glowPower :Number

Default Value:
  • 0.25
获取或设置发光强度,以总线宽的百分比表示。
Type:
  • Number

(readonly) materialProperty :Cesium.MaterialProperty

Overrides:
获取Cesium原生材质属性。
Type:
  • Cesium.MaterialProperty

taperPower :Number

Default Value:
  • 1.0
获取或设置锥型效果强度。
Type:
  • Number