Interface: ObjMaterialOptions
Defined in: src/mobjects/three-d/objMaterials.ts:45
The options that drive OBJ material loading. A subset of ModelMobjectOptions.
Properties
loadMaterials?
optionalloadMaterials:boolean
Defined in: src/mobjects/three-d/objMaterials.ts:49
Auto-derive the .mtl URL from the .obj URL and load it. Default: false.
mtlLoader?
optionalmtlLoader:MtlLoader
Defined in: src/mobjects/three-d/objMaterials.ts:51
Inject an MTLLoader directly (bypasses the factory and the network).
mtlUrl?
optionalmtlUrl:string
Defined in: src/mobjects/three-d/objMaterials.ts:47
Explicit companion .mtl URL. Takes priority over loadMaterials.
onProgress()?
optionalonProgress: (event) =>void
Defined in: src/mobjects/three-d/objMaterials.ts:53
Progress callback forwarded to the MTLLoader.
Parameters
event
ProgressEvent
Returns
void