PlaneScanEffectConfig
平面扫描效果的配置项
Constructor
new Glodon.Bimface.Plugins.Animation.PlaneScanEffectConfig(blendingRatio, color, boundary, ids, direction, duration, material, viewer)
构造平面扫描效果的配置项
Parameters:
Name | Type | Description |
---|---|---|
blendingRatio | Number | 颜色的融合程度,范围为[0, 1],默认为0,代表材质颜色不参与融合 |
color | Glodon.Web.Graphics.Color | 平面扫描效果的颜色 |
boundary | Array | 平面扫描效果的边界,由多个点对象组成的数组,若填写了ids,则该参数失效 |
ids | Array | 构件ID的数组,在viewer3D中如[{"modelId": "11", "objectId": ["22","33"]}],在viewerGIS中如[{"layerId": "11", "objectId": ["22","33"]}] |
direction | Object | 平面扫描效果的扫描方向,默认为{x: 0, y: 1} |
duration | Number | 平面扫描效果的持续时间,单位为毫秒 |
material | Glodon.Bimface.Plugins.Material | 平面扫描效果的材质对象 |
viewer | Glodon.Bimface.Viewer.Viewer3D | Glodon.Bimface.Viewer.ViewerGIS | Viewer对象 |