Documentation / scene / ModelFetchOptions
Type Alias: ModelFetchOptions
ModelFetchOptions =
BaseFetchOptions&object
Defined in: libs/scene/src/asset/assetmanager.ts:110
Options for model fetching.
Provides decoding and instancing hints used by supported model loaders.
Type Declaration
mimeType?
optionalmimeType?:string
Explicit MIME type hint for the model. If omitted, inferred from file extension via VFS.
dracoDecoderModule?
optionaldracoDecoderModule?:DecoderModule
Optional Draco decoder module for compressed geometry decoding.
enableInstancing?
optionalenableInstancing?:boolean
If true, the created scene node may be prepared for instanced rendering (engine-dependent). Default is false.
loadMeshes?
optionalloadMeshes?:boolean
If true, meshes will be loaded from this model. Default is true.
loadSkeletons?
optionalloadSkeletons?:boolean
If true, rigs and skin bindings will be loaded from this model. Default is true.
loadAnimations?
optionalloadAnimations?:boolean
If true, animations will be loaded from this model. Default is true.
loadJointDynamics?
optionalloadJointDynamics?:boolean
If true, automatically create joint dynamics (for VRM models only). Default is true.
postProcess?
optionalpostProcess?: (model) =>SharedModel
Optional post-process callback applied to the loaded SharedModel before creating nodes. Use this to remap materials, merge meshes, or apply custom data transforms.