Loads an XGF file into a SceneModel and/or a DataModel.

XGF v2 can restore fixed-topology geometry frames and per-mesh frameTime. Geometry frame data is loaded once into SceneGeometry; each SceneMesh then samples that shared frame sequence independently through its mesh-local frameTime.

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

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.

versions: string[]

IDs of supported file schema versions.

Methods