Loads compact .splat 3D-Gaussian-Splatting files into a SceneModel (baked RGB, no SH).

Like every other format loader it targets a SceneModel through the ModelLoader base, so splats import as "just another model":

const sceneModel = scene.createModel({ id: "splatScene" }).value;
fetch("scene.splat")
.then(r => r.arrayBuffer())
.then(fileData => new GaussianSplatLoader().load({ fileData, sceneModel }));

Produces one GaussianSplatsPrimitive geometry + a mesh + an object. Headerless format ⇒ a single "*" version.

Splats load in their native .splat/COLMAP frame (authored Y-down). To stand a scene upright in the SDK's Z-up world, configure the source frame on the SceneModel's coordinateSystem at creation rather than baking a correction into the geometry — the SDK premultiplies the model's meshes into the Scene frame for you.

Hierarchy (View Summary)

Constructors

Properties

fileDataType: string

Identifies the MIME type of files loaded by this parser.

fileNameExtensions: string[]

Filename extensions expected on loaded model files.

format: string

The loaded model file format.

getVersion: (fileData: any) => string

Gets the schema version of the given file data.

parsers: { [key: string]: ModelParser }

A parser for each supported schema version.

versions: string[]

IDs of supported file schema versions.

Methods