Splats · const

SPLAT_RECORD_BYTES

Position, scale, colour and rotation, in that order, little-endian.

Explained in Gaussian splats.

const SPLAT_RECORD_BYTES = 32
import { SPLAT_RECORD_BYTES } from '@driftengine/splats';

In depth

There is no header and no version. The format is a bare array of records, which is what makes the length check below the only structural validation available.