CircleFadeMaterial

CircleFadeMaterial

圆形 单个扩散效果 材质

Constructor

new CircleFadeMaterial(optionsopt)

创建一个扩散圆材质对象

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

带有以下属性的对象:

Properties
Name Type Attributes Default Description
color Color <optional>

扩散圆的颜色

duration Number <optional>
1000

扩散周期 单位毫秒

Classes

CircleFadeMaterial

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