ObjSaveOptions
Overview
ObjSaveOptions controls how a Scene is serialised to Wavefront OBJ (.obj) format. Construct an instance, configure the desired properties, and pass it to Scene.save() to override the built-in export defaults. Typical settings include output coordinate-system handedness, floating-point precision, whether binary buffers are embedded, and format-version selection. When Scene.save() receives only a file path, ObjFormat supplies the default export configuration automatically.
Description
ObjSaveOptions is a class in the Aspose.3D FOSS library for TypeScript that exposes 0 methods and 7 properties for programmatic use. It extends SaveOptions, inheriting shared functionality from its parent type.
Core capabilities include: boolean; boolean; boolean. These operations enable developers to integrate objsaveoptions functionality directly into TypeScript applications.
The class also provides the applyUnitScale property (determines whether unit scaling is applied during obj export), the pointCloud property (indicates if the mesh should be saved as a point cloud), the verbose property (enables detailed logging information when exporting obj).
Instances are created through a single constructor that initializes the object with default values.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
applyUnitScale | boolean | Read | Determines whether unit scaling is applied during OBJ export |
pointCloud | boolean | Read | Indicates if the mesh should be saved as a point cloud |
verbose | boolean | Read | Enables detailed logging information when exporting OBJ |
serializeW | boolean | Read | Includes the W component of vertices in the exported OBJ file |
enableMaterials | boolean | Read | Includes material definitions in the exported OBJ file |
flipCoordinateSystem | boolean | Read | Flips the coordinate system orientation during export |
axisSystem | any | Read | Specifies the axis system used for OBJ export |
Methods
| Signature | Description |
|---|---|
constructor() |