Ürünlerimize göz atın

Aspose.3D for Java 22.6 lease elease Notes

Improvements ve Changes

KeySummaryCategory
THREEDNET-1152Dosya formatını belirtmeden Allow 3D sahnesini kaydetEw ew Feature
THREEDNET-1157SdfValuelock lock USDZ ithalatında desteklenmiyorVement mprovement
THREEDNET-1156GLF Exception: FglTF ithal etmek için ailed, byteOffset accessor tanımlanmamıştırBug düzeltme
THREEDNET-1154Aspose.ThreeD.ExportException: Spec DAE-USDZ dönüşümü arasında çoğaltıldıBug düzeltme
THREEDNET-1153Exception USDZ ila GLTF tasarruf ederken oluşurBug düzeltme

API değişiklikleri

A07com.aspose.threed.FileFormat sınıfına yeni yöntem:

    /**
     * Gets the preferred file format from the file extension name
     * The extension name should starts with a dot('.').
     * @param extensionName 
     */
    public static FileFormat getFormatByExtension(String extensionName)

Ou ou uzatma adı, örnek kod ile bir Fileiormat örneği alabilir:

var scene = new Scene(new Box());
var format = FileFormat.getFormatByExtension(".fbx");
//save the scene to memory stream using FileFormat returned by GetFormatByExtension
var stream = new ByteArrayOutputStream();
scene.save(Stream.wrap(stream), format);

A07com.aspose.threed.Scene sınıfına yeni yöntem:

    /**
     * Saves the scene to specified path using specified file format.
     * @param fileName File name.
     */
    public void save(String fileName)
        throws IOException;

The yeni yöntem, bir dosya formatı sağlamadan sahneyi 3D dosyasına kaydetmenizi sağlar.

Example kodu:

var scene = Scene.fromFile("Input.fbx");
scene.save("Output.usdz);


 
 Türkçe