CircleWaveMaterial

CircleWaveMaterial

圆形 多圈扩散效果 材质

Constructor

new CircleWaveMaterial(optionsopt)

创建一个多圈扩散效果的材质对象

Parameters:
Name Type Attributes Default Description
options Object <optional>
{}

带有以下属性的对象:

Properties
Name Type Attributes Default Description
color Color <optional>

颜色

duration Number <optional>
1000

时长

count Number <optional>
2

圆圈个数

gradient Number <optional>
0.1

透明度的幂方(0-1),0表示无虚化效果,1表示虚化成均匀渐变

Classes

CircleWaveMaterial

Methods

equals(otheropt) → {Boolean}

将此属性与提供的属性进行比较并返回, 如果两者相等返回true,否则为false

Parameters:
Name Type Attributes Description
other Cesium.Property <optional>

The other property.

Returns:

两者是否是同一个对象

Type
Boolean

getType(time)

获取材质名称

Parameters:
Name Type Description
time JulianDate

检索值的时间

Returns:

材质名称

getValue(time, resultopt) → {Object}

获取所提供时间的属性值

Parameters:
Name Type Attributes Description
time JulianDate

检索值的时间

result Object <optional>

用于存储值的对象,如果省略,则创建并返回一个新的实例

Returns:

修改的result参数或一个新的实例(如果没有提供result参数)

Type
Object