ObjLoadOptions
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.
Description
ObjLoadOptions is a class in the Aspose.3D FOSS library for TypeScript that exposes 0 methods and 4 properties for programmatic use. It extends LoadOptions, inheriting shared functionality from its parent type.
Core capabilities include: boolean; boolean; number. These operations enable developers to integrate objloadoptions functionality directly into TypeScript applications.
The class also provides the flipCoordinateSystem property (determines whether the obj coordinate system is inverted on import), the enableMaterials property (toggles loading of material definitions from the obj file), the scale property (applies a uniform scaling factor to all imported geometry).
Instances are created through a single constructor that initializes the object with default values.
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() |