3D belgesini kaydedin
Contents
[
Hide
]
The
Scene class of the Aspose.3D API represents a 3D document and developers can save its object in any supported file format. To save a 3D Scene, simply use the Scene.save method, it accepts a file name with complete path or a file stream object. Aspose.3D API offers another FileFormat parameter to specify output file format.
3D sahnesini kaydet
The kod örneği aşağıda bir belgenin bir akışa nasıl kaydedileceğini gösterir.
import aspose.threed as a3d
import io
# For complete examples and data files, please go to https://github.com/aspose-3d/Aspose.3D-for-.NET
# Load a 3D document into Aspose.3D
scene = a3d.Scene.from_file("document.fbx")
# Save Scene to a stream
dstStream = io.BytesIO()
scene.save(dstStream, a3d.FileFormat.FBX7500ASCII);