ScanLineMaterialProperty

new Cesium.ScanLineMaterialProperty(options)

圆形扫描材质.
Name Type Description
options Object optional 对象具有如下属性:
Name Type Default Description
color Property Color.GREEN optional 设置扫描线的颜色 Color .
duration Property 1000 optional 设置扫描线运行周期,单位为豪秒,默认值为1000
image Property optional 设置扫描线材质图像路径

Members

设置/获取线的颜色 Color.
当属性改变是激发事件.
设置/获取运行周期
设置/获取材质图像路径
该属性对象是否为常量.

Methods

Compares this property to the provided property and returns true if they are equal, false otherwise.
Name Type Description
other Property optional The other property.
Returns:
true if left and right are equal, false otherwise.
Gets the Material type at the provided time.
Name Type Description
time JulianDate The time for which to retrieve the type.
Returns:
The type of material.

getValue(time, result)Object

Gets the value of the property at the provided time.
Name Type Description
time JulianDate The time for which to retrieve the value.
result Object optional The object to store the value into, if omitted, a new instance is created and returned.
Returns:
The modified result parameter or a new instance if the result parameter was not supplied.
Need help? The fastest way to get answers is from the community and team on the Cesium Forum.