Loads Pixar USDZ (.usdz) packages into a SceneModel.

Unpacks the USDZ ZIP package and decodes its root USD layer — binary Crate (.usdc) or ASCII (.usda) — with the tinyusdz wasm reader, producing geometry, transforms and UsdPreviewSurface materials.

Browser only (v1): the tinyusdz wasm is built web/worker-only, so loading throws under Node (CLI / headless). Packaged textures and USD animation / skinning / variants are not handled yet — see the module docs.

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