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, SceneTransforms and UsdPreviewSurface materials. ASCII USDA xformOp:* .timeSamples for rigid transforms are mapped to SceneAnimation assets targeting the imported transforms. When another USD scene adapter exposes sampled transform channels, those are mapped through the same path. The bundled tinyusdz@0.9.1 browser binding currently exposes static binary-USDC transforms but not authored binary time samples.

Browser only (v1): the tinyusdz wasm is built web/worker-only, so loading throws under Node (CLI / headless). Packaged textures, USD skinning / variants and tinyusdz-backed time-sample extraction 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.

versions: string[]

IDs of supported file schema versions.

Methods