Overview
ObjLoadOptions configures how a Wavefront OBJ (.obj) file is imported into a Scene. Construct an instance, set the desired properties, and pass it to Scene.open() alongside the file path to override the format defaults. Common settings cover which node hierarchies to load, how embedded materials are resolved, and whether animation data is included in the import. When no ObjLoadOptions is supplied, Scene.open() applies the Wavefront OBJ (.obj) defaults defined by ObjFormat.
Properties
| Name | Type | Access | Description |
|---|
flipCoordinateSystem | boolean | Read | Determines whether the OBJ coordinate system is inverted on import |
enableMaterials | boolean | Read | Toggles loading of material definitions from the OBJ file |
scale | number | Read | Applies a uniform scaling factor to all imported geometry |
normalizeNormal | boolean | Read | Indicates whether vertex normals are normalized during import |
Methods
| Signature | Description |
|---|
constructor() | |
See Also