Public API Changes in Aspose.3D 17.2.0

Contents Summary

Importing DirectX X Files

Using the recent version (17.02) or higher, developers can import X files. The XBinary and XText format entries are added to import binary and ASCII X files.

C#

 // XBinary and XText entries are added in the FileFormat class

public static readonly Aspose.ThreeD.FileFormat XBinary;

public static readonly Aspose.ThreeD.FileFormat XText;

// load X file

Scene Xfile = new Scene("3D.x");

Adds Aspose.ThreeD.Formats.X.XLoadOptions Class

We have added XLoadOptions class. It helps in importing X files into Aspose.3D API.

C#

 // XBinary and XText entries are added in the FileFormat class

public static readonly Aspose.ThreeD.FileFormat XBinary;

public static readonly Aspose.ThreeD.FileFormat XText;

// initialize Scene class object

Scene scene = new Scene();

// initialize an object

XLoadOptions loadXOpts = new XLoadOptions();

// load X file

scene.Open( "3DX.x", loadXOpts);