浏览我们的产品

Aspose.3D for .NET 25.11 发行说明

改进和更改

摘要类别
THREEDNET-1726调查在使用结构化元数据时 glTF 中缺失的扩展任务
THREEDNET-1730改进 PolygonList 以减少内存占用任务
THREEDNET-1733改进在加载大文件时 PolygonIndicesList 的内存消耗任务
THREEDNET-1734改进在加载大文件时 Vector4List/VertexElement 的内存消耗改进
THREEDNET-1728调查导入 obj 时出现的数百万材质问题错误修复
THREEDNET-1729引用材质文件的 Obj 文件无法导入错误修复
THREEDNET-1735USDZ 存档中的纹理未加载错误修复

API 更改

已添加类 Aspose.ThreeD.Entities.VertexElementFVector

此类是 VertexElementVertexColor/VertexElementUV/VertexElementBinormal/VertexElementNormal/VertexElementTangent/VertexElementSpecular 的基类。

此类用于取代 VertexElementVector4,内部使用 float 替代 double,并根据需求扩展组件,从而在大型 3D 文件中显著降低内存占用,旧的 VertexElementVector4 现已标记为过时,未来将被移除。

已向类 Aspose.ThreeD.Utilities.FVector2 添加成员:

	public int CompareTo(Aspose.ThreeD.Utilities.FVector2 other)
此方法允许比较不同的 FVector2 实例。

已向类 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");

已向类 Aspose.ThreeD.Utilities.FVector4 添加成员:

	public int CompareTo(Aspose.ThreeD.Utilities.FVector4 other)
此方法允许比较不同的 FVector2 实例。

已向类 Aspose.ThreeD.Utilities.Vector3 添加成员:

	public static Aspose.ThreeD.Utilities.Vector3 Parse(string input)
从以空格分隔的字符串表示形式解析 Vector3

示例代码

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


 
 简体中文