BloomEffectConfig

类:辉光效果的配置项

Constructor

new Glodon.Bimface.Plugins.Effect.BloomEffectConfig()

构造辉光效果的配置项

Members

NameTypeDescription
idsArray

辉光对象ID的数组,在viewer3D中如[{"modelId": "11", "objectIds": ["22", "33"]}],在viewerGIS中如[{"layerId": "11", "objectIds": ["22", "33"]}];外部构件、房间指定objectIds即可

intensityNumber

强度,取值范围为[0,1],默认值为0.5

spreadNumber

扩散程度,取值范围[1,5],默认值为3

thresholdNumber

产生辉光的临界值,取值范围为[0, 1],默认值为0

viewerGlodon.Bimface.Viewer.Viewer3D | Glodon.Bimface.Viewer.ViewerGIS

Viewer对象, 要求为Viewer3D或ViewerGIS对象