Built by the loader; applications never construct one.
ReadonlyanimationsThe animations, in file order.
ReadonlydefaultIndex of the file's default scene, or null.
Optional Readonlyextras§78 user metadata: the document's own extras, when present.
ReadonlyignoredWhat the file carried that this tier deliberately does not: one entry per ignored feature, in parse order (§85-warned once each at parse). Empty for a file entirely inside the tier.
ReadonlymaterialsThe materials, in file order.
ReadonlymeshesThe meshes, in file order.
ReadonlynodesThe nodes, in file order — the index is the animation-binding ABI.
ReadonlyscenesThe scenes, in file order.
ReadonlyskinsThe skins, in file order.
ReadonlytexturesDecoded base-colour textures, index-aligned with the file's textures
array; null for entries no supported material slot references (they are
validated, never decoded).
ReadonlyurlThe URL the asset was loaded from — diagnostics and warning keys.
Whether dispose has run.
Disposes every decoded TextureAsset (§83). Idempotent. The plain
records stay readable — they are data, and dropping them would only turn
a use-after-dispose into a TypeError instead of a legible empty read.
A parsed, validated glTF document — plain data plus decoded textures, with an explicit lifetime (§83).
Everything in it is a pure function of the input bytes (§33). Assembly into scene nodes is
four'sinstantiateGltf; an assets-only consumer may read the records directly.