Optional
addfalse
Optional
autoAutomatically center the object in the scene.
false
Optional
autoAutomatically scale the object according to its bounding box and the autoScaleRadius setting
false
Optional
auto2
Optional
autoAutomatically set any loaded image(ITexture) file as the scene background
Optional
autoAutomatically set any loaded HDR, EXR file as the scene environment map
true
Optional
centerAutomatically center the geometries(pivots) in the object hierarchy before adding.
false
Optional
centerThis centers the geometry while keeping the world position, i.e the mesh(Object3D) positions will change. centerGeometries must be true for this to work.
true
Optional
clearClear the viewer scene objects before the new object is added. Same as disposeSceneObjects but does not dispose the objects.
Optional
disposeDispose all the scene objects before the new object is added. Same as clearSceneObjects but also disposes the objects.
Optional
importany attached viewer config will be ignored if this is set to true
true
Optional
licenseAdd a license to the object
Generated using TypeDoc
Add directly to the RootScene object instead of RootScene.modelRoot