Loads a xeokit v2 XKT file into a SceneModel and/or a DataModel.

Supports XKT versions 7 through 12. Versions 7-10 use the deflated container. Version 12 has both a deflated form (header high bit set) and an uncompressed offset-table form; version 11 is uncompressed only. Textures and UVs are not loaded. For detailed usage, refer to @xeokit/sdk/formats/xkt.

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