浏览我们的产品

Aspose.3D for Python via .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 添加成员:

	def compare_to(self, other : aspose.threed.utilities.FVector2) -> int:
		...

此方法允许比较不同的 FVector2 实例。

为类 aspose.threed.utilities.FVector3 添加成员:

	def compare_to(self, other : aspose.threed.utilities.FVector3) -> int:
		...

此方法允许比较不同的 FVector3 实例。

	@classmethod
	def parse(clz, input : str) -> aspose.threed.utilities.FVector3:
		...
示例代码
vec = FVector3.Parse("0.0 0.3 1.5")

为类 aspose.threed.utilities.FVector4 添加成员:

	def compare_to(self, other : aspose.threed.utilities.FVector4) -> int:
		...

此方法允许比较不同的 FVector4 实例。

为类 aspose.threed.utilities.Vector3 添加成员:

	@classmethod
	def parse(clz, input : str) -> aspose.threed.utilities.Vector3:
		...

示例代码

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

为类 aspose.threed.utilities.Vector4 添加成员:

	@property
	def length(self) -> float

此属性返回 Vector4 的长度。


 
 简体中文