ColladaImporter
Overview
ColladaImporter reads a COLLADA (.dae) 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 .dae extension or when a ColladaLoadOptions instance is provided explicitly. Pass ColladaLoadOptions to control which node hierarchies are loaded, how materials are resolved, and whether animation tracks are included during import.
Description
ColladaImporter is a class in the Aspose.3D FOSS library for TypeScript that exposes 2 methods and 2 properties for programmatic use. It extends Importer, inheriting shared functionality from its parent type.
Core capabilities include: : string; : string; creates a new instance of the colladaimporter class. These operations enable developers to integrate colladaimporter functionality directly into TypeScript applications.
The class also provides the name property (holds the identifier name of the importer), the effect property (holds a string describing the effect or purpose of the importer).
Instances are created through a single constructor that initializes the object with default values.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
name | : string | Read | Holds the identifier name of the importer |
effect | : string | Read | Holds a string describing the effect or purpose of the importer |
Methods
| Signature | Description |
|---|---|
constructor() | Creates a new instance of the ColladaImporter class |
supportsFormat(fileFormat: FileFormat) → boolean | Returns true if the given FileFormat is supported by this importer |
importScene(scene: Scene, stream: any, options: LoadOptions) | Loads a COLLADA scene from a stream into the provided Scene using specified options |