The default supported schema version.
InternalencodersAn encoder for each supported schema version.
Data type of the file written by this Exporter.
The exported model file format.
List of supported schema versions.
Exports the SceneModel to XGF. When the caller didn't pin a version,
promotes the target version so the model's data is never silently dropped:
SPLAT_CAPABLE_VERSION | v3 when the model contains Gaussian-splat
geometry, or TEXTURE_CAPABLE_VERSION | v2 when it has textures (v1
carries geometry + per-mesh RGBA only — no materials or textures). An
explicit version always wins (so callers can still force v1 deliberately).
Exports a SceneModel to an XGF file.
For detailed usage, refer to @xeokit/sdk/formats/xgf.
Versions:
"1.0.0"— geometry + per-mesh inline RGBA only. Default."1.1.0"("XKT2") — adds materials with full PBR + alpha mode/cutoff, textures (image bytes + sampler params), and per-geometry normals + UVs."1.2.0"— adds 3D Gaussian Splatting geometry (per-splat scales + rotation quaternions). Auto-selected when the SceneModel contains GaussianSplatsPrimitive geometry and no explicitversionwas requested, so splats are never silently dropped.