Öffentlich API Änderungen in Aspose.3D 17.2.0

Inhalts übersicht

Importieren von Dateien DirectX X

Mit der aktuellen Version (17.02) oder höher können Entwickler X-Dateien importieren. Die Einträge im XBinary-und XText-Format werden hinzugefügt, um Binär-und ASCII X-Dateien zu importieren.

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");

Fügt Aspose.ThreeD. Formate. X.XLoad Options-Klasse hinzu

Wir haben die XLoad Options-Klasse hinzugefügt. Es hilft beim Importieren von X-Dateien in 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);