Developer Guide
Developer Guide
This section covers the core capabilities of Aspose.3D 26.1.0 for .NET. All classes reside in the Aspose.ThreeD namespace.
Scene I/O
The Scene class is the top-level container. Use Scene.Open() to load files and Scene.Save() to export:
using Aspose.ThreeD;
var scene = new Scene();
scene.Open("model.fbx");
scene.Save("model.glb");Format is auto-detected from the file extension. For explicit control, pass format-specific options such as FbxLoadOptions, GltfSaveOptions, or ObjSaveOptions.
Scene Graph
Every scene has a RootNode. Attach child nodes with CreateChildNode() and entities (meshes, cameras, lights) to those nodes:
var scene = new Scene();
var boxNode = scene.RootNode.CreateChildNode("myBox", new Box(10, 10, 10));Traverse the hierarchy via node.ChildNodes and access the attached entity via node.Entity.
Supported Formats
| Format | Import | Export |
|---|---|---|
| OBJ | Yes | Yes |
| STL | Yes | Yes |
| glTF 2.0 / GLB | Yes | Yes |
| FBX | Yes | Yes |
| COLLADA | Yes | Yes |
| PLY | Yes | No (exporter not wired) |
| 3MF | Yes | Yes |
Topics
- Features and Functionalities: Detailed feature walkthrough with C# examples