VertexField
概述
VertexField 是 Aspose.3D FOSS 中用于 Python 的类。
Vertex 的字段内存布局描述。
此类为 Python 程序中的 VertexField 对象声明了 1 个方法。可用的方法包括:compare_to。在安装了 Aspose.3D FOSS for Python 包后,所有公共成员对任何 Python 应用程序均可访问。属性:alias, data_type, index, offset, semantic, size。
属性
| 名称 | 类型 | 访问 | 描述 |
|---|---|---|---|
data_type | 'VertexFieldDataType' | 读取 | 获取数据类型。 |
semantic | 'VertexFieldSemantic' | 读取 | 获取语义。 |
alias | str | 读取 | 获取别名。 |
index | int | 读取 | 获取索引。 |
offset | int | 读取 | 获取偏移量。 |
size | int | 读取 | 获取大小。 |
方法
| 签名 | 描述 |
|---|---|
compare_to(other: 'VertexField') → int | 在 FOSS 版中未实现 — 在运行时抛出。 返回一个整数,指示基于语义和索引的两个 VertexField 实例的排序顺序 |