FlashingEntity

FlashingEntity

定时闪烁高亮Entity(点、线、面)

Constructor

new FlashingEntity()

Classes

FlashingEntity

Methods

highlight(entitys, opts) → {Object}

高亮

Parameters:
Name Type Description
entitys Object

实体类

opts Object
Properties
Name Type Attributes Default Description
maxAlpha Number <optional>
0.3

高亮透明度

time Number <optional>
10

播放时长

color Cesium.Color <optional>
Cesium.Color.YELLOW

高亮颜色

autoClear Boolean <optional>
true

高亮结束后自动清除高亮色 默认为true 设为false时需手动调用unHighlight

onEnd function <optional>

结束事件

Returns:
Type
Object

unHighlight()

取消高亮