RadarMaterialProperty

new Cesium.RadarMaterialProperty(options)

雷达扫描材质.
Name Type Description
options Object optional 对象具有如下属性:
Name Type Default Description
color Property Color.GREEN optional 设置扫描颜色 Color .
outlineWidth Property 1.0 optional 设置扫描线边框线宽度
image Property optional 设置扫描材质图像路径
tailAngle Property 90.0 optional 设置雷达扫描角度,单位为度
speed Property 1.0 optional 设置扫描速度
innerRingCount Property 3 optional 设置内环数量
innerRingWidth Property 1.0 optional 设置线宽
crossFlag Property false optional 设置是否启用十字标记
markFlag Property false optional 设置扫是否带有刻度
directionCCW Property false optional 设置扫扫描方向
blip Property false optional 设置是否显示扫描物

Members

设置/获取扫描物(测试中).
设置/获取颜色 Color.
设置/获取是否带有十字标志.
Gets the event that is raised whenever the definition of this property changes. The definition is considered to have changed if a call to getValue would return a different result for the same time.
设置/获取扫描方向.
设置/获取纹理路径 .
设置/获取内环数量.
设置/获取线的宽度.
设置/获取是否带有刻度标记.
设置/获取边界线宽度,当该值为负数时,不显示边界线.
设置/获取雷达扫描速度.
设置/获取雷达扫描区域角度,单位为度.

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.