Optional
addOptional
autoAutomatically center the object in the scene.
Optional
autoAutomatically scale the object according to its bounding box and the autoScaleRadius setting
Optional
autoOptional
centerAutomatically center the geometries(pivots) in the object hierarchy before adding.
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.
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
Optional
licenseAdd a license to the object
Add directly to the RootScene object instead of RootScene.modelRoot