ObjImporter
Overview
ObjImporter reads a Wavefront OBJ (.obj) file or binary buffer and reconstructs its scene graph as Aspose.3D for TypeScript objects including nodes, meshes, materials, and animations. It is invoked automatically by Scene.open() when the source file has the .obj extension or when a ObjLoadOptions instance is provided explicitly. Pass ObjLoadOptions to control which node hierarchies are loaded, how materials are resolved, and whether animation tracks are included during import.
Methods
| Signature | Description |
|---|---|
constructor() | |
supportsFormat(fileFormat: FileFormat) → boolean | |
importScene(scene: Scene, stream: any, options: LoadOptions) | Loads OBJ data from a stream into the provided Scene using the supplied LoadOptions |