Appearance
水波纹扩散材质 CircleWaveMaterial
- @param
| 参数名 | type | 描述 | 默认值 |
|---|---|---|---|
| options | Object | 材质配置,属性参考下表 | - |
options 属性
| 属性名 | type | 描述 | 默认值 |
|---|---|---|---|
| color | String | 颜色 | - |
| speed | String | 动画速度 | 3 |
| count | Number | 波浪数量 | 1 |
| gradient | Number | 渐变曲率 | 0.1 |
- @returns
| 返回值 | type | 描述 |
|---|---|---|
| material | Object | 材质。 |
js
let options = {
color: new Cesium.Color.fromCssColorString("#41A97F"),
speed: 12.0,
count: 3,
gradient: 0.2,
};
let material = CM.Material.CircleWaveMaterial(options);螺旋圆材质材质 CircleSpiralMaterial
- @param
| 参数名 | type | 描述 | 默认值 |
|---|---|---|---|
| options | Object | 材质配置,属性参考下表 | - |
options 属性
| 属性名 | type | 描述 | 默认值 |
|---|---|---|---|
| color | String | 颜色 | - |
| speed | String | 动画速度 | 3 |
- @returns
| 返回值 | type | 描述 |
|---|---|---|
| material | Object | 材质。 |
js
let options = {
color: new Cesium.Color.fromCssColorString("#41A97F"),
speed: 5.0,
};
let material = CM.Material.CircleSpiralMaterial(options);多彩圆材质 CircleVaryMaterial
- @param
| 参数名 | type | 描述 | 默认值 |
|---|---|---|---|
| options | Object | 材质配置,属性参考下表 | - |
options 属性
| 属性名 | type | 描述 | 默认值 |
|---|---|---|---|
| color | String | 颜色 | - |
| speed | String | 动画速度 | 3 |
- @returns
| 返回值 | type | 描述 |
|---|---|---|
| material | Object | 材质。 |
js
let options = {
color: new Cesium.Color.fromCssColorString("#41A97F"),
speed: 5.0,
};
let material = CM.Material.CircleVaryMaterial(options);