Skip to content

Interface: GetGLTFOptions

Defined in: packages/core/src/asset/loaders/gltf-loader.ts:21

Options for retrieving a cached GLTF.

Properties

shared?

optional shared: boolean

Defined in: packages/core/src/asset/loaders/gltf-loader.ts:28

If true, return the cached GLTF directly (shared across calls). Default false: returns a fresh clone whose scene/scenes are new Object3D trees, allowing the same key to be used for multiple entities. Geometries, materials, and animation clips remain shared by reference.

Privacy | Terms