Просмотрите наши продукты

Aspose.3D for .NET 25.11 Примечания к выпуску

Improvements and Changes

KeySummaryCategory
THREEDNET-1726Investigate extensions missing in glTF when use structural meta dataTask
THREEDNET-1730Improve PolygonList to reduce memory footprintTask
THREEDNET-1733Improve memory consumption of PolygonIndicesList when loading large fileTask
THREEDNET-1734Improve memory consumption of Vector4List/VertexElement when loading large fileImprovement
THREEDNET-1728Investigate millions materials when obj importedBug fixing
THREEDNET-1729Obj file with material file quoted cannot be importedBug fixing
THREEDNET-1735Textures are not loaded within USDZ archiveBug fixing

API Changes

Added class Aspose.ThreeD.Entities.VertexElementFVector

This class is the base class of VertexElementVertexColor/VertexElementUV/VertexElementBinormal/VertexElementNormal/VertexElementTangent/VertexElementSpecular.

This is used to replace VertexElementVector4, which internally uses float to replace double, and extend components on demands, which improves the memory footprint quite a lot in large 3D file, old VertexElementVector4 are now marked as obsoleted and will be removed in the future.

Added members to class Aspose.ThreeD.Utilities.FVector2:

	public int CompareTo(Aspose.ThreeD.Utilities.FVector2 other)
Этот метод позволяет сравнивать разные экземпляры FVector2.

Added members to class Aspose.ThreeD.Utilities.FVector3:

	public int CompareTo(Aspose.ThreeD.Utilities.FVector3 other)

Этот метод позволяет сравнивать разные экземпляры FVector3.

	public static Aspose.ThreeD.Utilities.FVector3 Parse(string input)

Разбирает FVector3 из строкового представления, разделённого пробелами

Пример кода

var vec = FVector3.Parse("0.0 0.3 1.5");

Added members to class Aspose.ThreeD.Utilities.FVector4:

	public int CompareTo(Aspose.ThreeD.Utilities.FVector4 other)

Этот метод позволяет сравнивать разные экземпляры FVector2.

Added members to class Aspose.ThreeD.Utilities.Vector3:

	public static Aspose.ThreeD.Utilities.Vector3 Parse(string input)

Разбирает Vector3 из строкового представления, разделённого пробелами

Пример кода

var vec = Vector3.Parse("0.0 0.3 1.5");



 
 Русский