ApertureEffect

new Cesium.ApertureEffect(viewer, options)

光圈效果
Name Type Description
viewer Object optional 渲染场景,
options Object optional 对象具有如下属性:
Name Type Default Description
color Property Color.GREEN optional 设置光圈颜色 Color .
duration Property 1000 optional 设置光圈从起点到终点运行周期,单位为豪秒,默认值为5000
radius Property 100 optional 设置光圈半径,单位为米,默认值为100
center Property Cartesian3.fromDegrees() optional 设置光圈中点,笛卡尔坐标,必填
width Property 2 optional 设置光圈线宽,单位为米,默认值为2,
name Property "" optional 设置光圈名称,默认值为"ApertureEffect",
effctMode Property Cesium.ApertureEffectMode.TRANS optional 设置光圈模式,默认发光模式, ApertureEffectMode
reverse Property false optional 设置光圈方向是否反转,默认值为false,
appendToViewer Boolean true optional 是否加入到viewer初始化默认数据源,建议使用false,自行将ApertureEffect.apertureEntity管理起来
Need help? The fastest way to get answers is from the community and team on the Cesium Forum.