片状扩散材质,多用于矩形图元中.
Name | Type | Description | ||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options |
Object |
optional
对象具有如下属性:
|
Members
bidirection : Property
设置/获取双向扩散还是单向扩散
设置/获取线的颜色
Color
.
readonly definitionChanged : Event
当属性改变是激发事件.
设置/获取运行周期
设置/获取材质图像路径
该属性对象是否为常量.
设置/获取材质重复贴图次数
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.
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.