Interface LASLoaderOptions

Options for las!LASLoader.load | LASLoader.load.

For detailed usage, refer to @xeokit/sdk/formats/las.

interface LASLoaderOptions {
    center?: boolean;
    colorDepth?: string | number;
    coordinateSystem?: CoordinateSystemParams;
    fp64?: boolean;
    skip?: number;
    transform?: Mat4;
}

Hierarchy (View Summary)

Properties

center?: boolean

Whether to center the loaded point cloud at the origin.

colorDepth?: string | number

Color depth for the loaded point cloud (e.g., 8, 16 or "auto").

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.

fp64?: boolean

Whether to load 64-bit floating point positions (if available).

skip?: number

Number of points to skip when loading the point cloud (for downsampling).

transform?: Mat4

A 4x4 transformation matrix to apply to the loaded point cloud.