API reference for Aspose.3D.Converter 1.0.0 (.NET 10.0+, MIT license).
All classes reside in the Aspose.ThreeD root namespace. The root using directive is:
C# naming convention: All properties use standard C# property syntax. For example, use scene.RootNode instead of scene.getRootNode(), and transform.Translation = ... instead of transform.setTranslation(...). Vector3, Vector4, Quaternion, Matrix4, and FVector types use public fields (v.X, v.Y, v.Z) for component access.
Core Scene Graph
| Class | Description |
|---|
Scene | Top-level container for all 3D scene data. Holds the root node, asset metadata, and animation clips. Exposes Open() and Save() as the primary I/O entry points. |
Node | A named node in the scene hierarchy. Owns a list of child nodes and a list of attached Entity objects such as meshes, cameras, and lights. Carries a local Transform. |
Entity | Abstract base class for all objects that can be attached to a Node. Provides name and identity but no geometry of its own. |
SceneObject | Base class shared by Node and Entity. Provides the property collection interface used for user-defined metadata. |
A3DObject | Root base class for all Aspose.3D managed objects. Exposes the Name property and the Properties collection. |
INamedObject | Interface that guarantees a Name property. Implemented by Node, Entity, and several format-specific descriptor types. |
Geometry and Mesh
| Class | Description |
|---|
Mesh | Polygon mesh entity. Stores control points (vertex positions as Vector4), polygon face lists (lists of control-point indices), and vertex element layers (normals, UVs, vertex colours). |
Geometry | Abstract base for mesh-like geometry types. Defines the control-point array and the collection of VertexElement layers. Mesh inherits from Geometry. |
VertexElement | Abstract base for a data layer attached to geometry (normals, UVs, colours, etc.). Carries MappingMode, ReferenceMode, and a data list. |
VertexElementNormal | Stores one normal vector per vertex or per polygon corner, depending on mapping mode. |
VertexElementUV | Stores texture-coordinate pairs (Vector2) per vertex or per polygon corner. |
VertexElementVertexColor | Stores per-vertex or per-corner RGBA colour data as Vector4. |
Built-In Primitives
| Class | Description |
|---|
Box | Parametric axis-aligned box with configurable width, height, and depth. Can be attached to a Node directly or converted to Mesh via ToMesh(). |
Sphere | Parametric sphere with configurable radius. Supports ToMesh() conversion. |
Cylinder | Parametric cylinder with configurable top radius, bottom radius, and height. Supports ToMesh() conversion. |
Transform and Spatial
| Class | Description |
|---|
Transform | Local transformation attached to a Node. Provides Translation (FVector3), Rotation (Quaternion), Scale (FVector3), and Matrix (Matrix4) properties. |
GlobalTransform | Read-only view of a node’s world-space transformation matrix after composing all ancestor transforms. Accessed via node.GlobalTransform. Exposes a single Matrix property. |
AssetInfo | Metadata block attached to a Scene. Inherits from A3DObject providing Name and Properties. No additional properties are defined in this edition. |
Materials and Shading
| Class | Description |
|---|
Material | Abstract base class for all material types. Provides a name and a property collection. |
LambertMaterial | Classic diffuse-only material with Ambient, Diffuse, Emissive, Reflective, Transparency, and Texture properties. Namespace: Aspose.ThreeD.Shading. |
PhongMaterial | Extends Lambert with Specular, Shininess, and SpecularPower properties. Namespace: Aspose.ThreeD.Shading. |
PbrMaterial | Physically Based Rendering material with BaseColor, Metallic, Roughness, Occlusion, and texture slot properties. Namespace: Aspose.ThreeD.Shading. |
Camera
| Class | Description |
|---|
Camera | Camera entity. Inherits from Frustum. Attached to a Node to define viewpoint transforms. No format-specific properties are exposed in this edition. |
Math Utilities
| Class | Description |
|---|
Vector2 | Single-precision 2-component vector (X, Y). Used for UV texture coordinates. |
Vector3 | Single-precision 3-component vector (X, Y, Z). General-purpose spatial vector. |
Vector4 | Single-precision 4-component vector (X, Y, Z, W). Used for control points and normal data. |
FVector3 | Single-precision 3-component float vector. Used by Transform.Translation and Transform.Scale. |
FVector4 | Single-precision 4-component float vector. |
Quaternion | Unit quaternion for representing rotations (W, X, Y, Z). Used by Transform.Rotation. |
Matrix4 | 4x4 transformation matrix. Used for world/local transform computations and by GlobalTransform.Matrix. |
BoundingBox | Axis-aligned bounding box defined by Minimum and Maximum FVector3 corners. |
Animation
| Class | Description |
|---|
AnimationClip | Named container for an animation range. A Scene may hold multiple clips. Declaration stub — keyframe data and playback are not yet implemented. |
Format I/O
| Symbol | Description |
|---|
Scene.Open(path) | Opens a file, detects the format from the extension, and populates the scene. |
Scene.Open(path, options) | Opens a file with format-specific LoadOptions. |
Scene.Open(stream) | Opens from a stream, auto-detecting the format from content. |
Scene.Open(stream, options) | Opens from a stream with format-specific LoadOptions. |
Scene.Save(path) | Saves the scene to a file; format inferred from extension. |
Scene.Save(path, options) | Saves with format-specific SaveOptions. |
Scene.Save(stream, options) | Saves to a stream with format-specific SaveOptions. |
FileFormat | Registry of supported file formats. Contains entries such as FileFormat.WavefrontOBJ, FileFormat.GLTF2, FileFormat.FBX7400ASCII. |
IOService | Internal I/O abstraction. Provides DetectFormat() for stream-based format detection. |
LoadOptions | Base class for format-specific load options. |
SaveOptions | Base class for format-specific save options. |
OBJ Format
STL Format
glTF Format
| Class | Description |
|---|
GltfLoadOptions | Load options for glTF 2.0 and GLB files. |
GltfSaveOptions | Save options for glTF 2.0 and GLB output. No format-specific properties are exposed in this edition; use .glb extension for binary output. |
FBX Format
| Class | Description |
|---|
FbxLoadOptions | Load options for FBX files. |
FbxSaveOptions | Save options for FBX output. Use IsAscii to toggle ASCII/binary mode. |
3MF Format
Enumerations
| Enumeration | Description |
|---|
FileContentType | Content type descriptor: ASCII, Binary. Available as a property on FileFormat. |
Axis | Identifies a coordinate axis: XAxis, YAxis, ZAxis. |
CoordinateSystem | Specifies handedness convention: RightHand or LeftHand. |
Properties System
| Class | Description |
|---|
Property | A single named typed property on an A3DObject. |
PropertyCollection | Iterable collection of Property objects attached to an A3DObject. |
See Also