Interface ModelLoadOptions

Options for ModelLoader.load.

interface ModelLoadOptions {
    coordinateSystem?: CoordinateSystemParams;
    layerId?: string;
}

Hierarchy (View Summary)

Properties

coordinateSystem?: CoordinateSystemParams

Describes the coordinate system of the model to load.

When provided, this enables the loader to automatically transform the model from its local oordinate system to the Scene's global coordinate system.

layerId?: string

Optional layer ID to assign to all SceneObjects created by the loader.

See SceneObject.layerId for details on how this layer ID is used when the Scene is attached to a Viewer.