GltfExporter

GltfExporter — Aspose.3D FOSS Java API Reference

GltfExporter — מחלקת GltfExporter. יורשת מ: IExporter.

Methods: com.aspose.threed

הערה: GltfExporter אין לה מאפיינים ציבוריים מעבר ל- IExporter ממשק. המאפיינים json/binaryData ו‑שיטות getJson()/getBinaryData() שייכים למחלקה הפנימית הפרטית GltfData ולא נגישים מקוד המשתמש. ניסיון לקרוא אליהם יגרום לשגיאת קומפילציה.


Methods

MethodsMethodsMethods
canExport(FileFormat format)booleanMethods true אם הפורמט הנתון נתמך לייצוא (glTF ו‑GLB).
export(Scene scene, Stream stream, SaveOptions options)voidמייצא את הסצנה לזרם הפלט הנתון תוך שימוש באפשרויות השמירה שסופקו.

ראה גם

 עברית