QuadEffectMaterialProperty

new Cesium.QuadEffectMaterialProperty(options)

矩形边框扩散,多用于矩形图元中.
Name Type Description
options Object optional 对象具有如下属性:
Name Type Default Description
diffuseColor Property Color.WHITE optional 内部扩散颜色 Color .
outlineColor Property Color.WHITE optional 边框颜色 Color .
image Property optional 设置材质图像路径 .
outlineWidth Property 3.0 optional 边框线宽度占用百分比 .
sideCount Property 4 optional 内部扩散边的数量 .
ringCount Property 1 optional 内部扩散环的数量 .
duration Property 1000 optional 扩散周期,单位为毫秒 .

Members

当属性改变是激发事件.
设置/获取扩散颜色 Color.
设置/获取运行周期
设置/获取材质图像路径
该属性对象是否为常量.
设置/获取边框线颜色 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.