ThreePipe
    Preparing search index...

    Interface AddModelOptions

    interface AddModelOptions {
        autoCenter?: boolean;
        autoScale?: boolean;
        autoScaleRadius?: number;
        centerGeometries?: boolean;
        centerGeometriesKeepPosition?: boolean;
        license?: string;
    }

    Hierarchy (View Summary)

    Index

    Properties

    autoCenter?: boolean

    Automatically center the object in the scene.

    false
    
    autoScale?: boolean

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

    false
    
    autoScaleRadius?: number

    Radius to use for autoScale autoScale must be true for this to work.

    2
    
    centerGeometries?: boolean

    Automatically center the geometries(pivots) in the object hierarchy before adding.

    false
    
    centerGeometriesKeepPosition?: boolean

    This 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
    
    license?: string

    Add a license to the object