Hangublic API hangمعلقة في Aspose.3D 17.2.0

Contents Sأوماري

Importing DirectX iles iles

Uالغناء الإصدار الأخير (17.02) أو أعلى ، يمكن للمطورين استيراد ملفات X. يتم إضافة entries he entries inary و entries exext تنسيق إدخالات لاستيراد الملفات الثنائية و ASCII X.

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. orormat. X. Xptions oadOptions lass

لقد أضاف We فئة ptions ptions oadO. It يساعد في استيراد ملفات X إلى 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);