Interface AddObjectOptions

Hierarchy

  • AddObjectOptions

Properties

addToRoot?: boolean

Add directly to the RootScene object instead of modelRoot

Default

false
autoCenter?: boolean

Automatically center the object in the scene.

Default

false
autoScale?: boolean

Automatically scale the object according to its bounding box and the autoScaleRadius setting

Default

false
autoScaleRadius?: number

Radius to use for autoScale

Default

2
clearSceneObjects?: boolean

Clear the viewer scene objects before the new object is added. Same as disposeSceneObjects but does not dispose the objects.

disposeSceneObjects?: boolean

Dispose all the scene objects before the new object is added. Same as clearSceneObjects but also disposes the objects.

importConfig?: boolean

any attached viewer config will be ignored if this is set to true

Default

true
license?: string

Add a license to the object

Generated using TypeDoc