ExternalObjectEditorToolbarConfig

.ExternalObject. ExternalObjectEditorToolbarConfig

new Glodon.Bimface.Plugins.ExternalObject.ExternalObjectEditorToolbarConfig()

构造外部构件编辑器工具条配置项

Members

Name Type Description
app String

WebApplication3D对象,选填

buttonVisibility String

编辑启用状态,默认为{“translate”:true,“rotate”:true,“scale”:true}

id String

外部构件ID

rotationController Object

旋转轴禁用状态,设置是否开启绕某轴的旋转。默认为{"X":true,"Y":true,"Z":true}

scaleController Object

缩放禁用状态,设置是否开启等比缩放或某轴的轴向缩放。默认为{“Uniform”:true,“X”:true,“Y”:true,“Z”:true}

translationController Object

平移轴禁用状态,设置是否开启沿某轴的旋转。(禁用轴平移时,相应的面平移也被禁用)。默认为{"X":true,"Y":true,"Z":true}

viewer Object

Viewer对象