WaveMaterial

WaveMaterial

new WaveMaterial(opt)

Description:
  • 波纹材质
Example
var redEllipse = viewer.entities.add({
    position: Cesium.Cartesian3.fromDegrees(103.0, 40.0),
    ellipse: {
      semiMinorAxis: 250000.0,
      semiMajorAxis: 400000.0,
      material: new WaveMaterial({
        duration: 2000,
        color: Cesium.Color.RED,
      }),
    },
  });
Parameters:
Name Type Description
opt Object 基础配置
Properties
Name Type Attributes Default Description
color Cesium.Color 颜色
duration Number <optional>
1000 时间间隔(ms)