BloomEffectConfig
类:辉光效果的配置项
Constructor
new Glodon.Bimface.Plugins.Effect.BloomEffectConfig()
构造辉光效果的配置项
Members
Name | Type | Description |
---|---|---|
ids | Array | 辉光对象ID的数组,在viewer3D中如[{"modelId": "11", "objectIds": ["22", "33"]}],在viewerGIS中如[{"layerId": "11", "objectIds": ["22", "33"]}];外部构件、房间指定objectIds即可 |
intensity | Number | 强度,取值范围为[0,1],默认值为0.5 |
spread | Number | 扩散程度,取值范围[1,5],默认值为3 |
threshold | Number | 产生辉光的临界值,取值范围为[0, 1],默认值为0 |
viewer | Glodon.Bimface.Viewer.Viewer3D | Glodon.Bimface.Viewer.ViewerGIS | Viewer对象, 要求为Viewer3D或ViewerGIS对象 |