VertexElementDoublesTemplate

VertexElementDoublesTemplate

概述

VertexElementDoublesTemplate 是 Aspose.3D FOSS 中用于 Python 的一个类。继承自:VertexElement。

用于定义具体实现的辅助类。

此类在 Python 程序中为 VertexElementDoublesTemplate 对象声明了 5 个方法。可用的方法包括:__init__、clear、copy_to、set_data、set_indices。在安装了 Aspose.3D FOSS for Python 包之后,所有公共成员对任何 Python 应用程序均可访问。属性:data、indices、mapping_mode、name、reference_mode、vertex_element_type。

属性

名称类型访问描述
dataArrayListAdapter[float]读取获取顶点数据。
vertex_element_type'VertexElementType'读取获取顶点元素类型。
namestr读写获取或设置名称。
mapping_mode'MappingMode'读写获取或设置映射模式。
reference_mode'ReferenceMode'读写获取或设置引用模式。
indicesList[int]读取获取索引。

方法

签名描述
__init__(element_type: 'VertexElementType', name: str, mapping_mode: 'MappingMode', reference_mode: 'ReferenceMode')Calls init(element_type, name, mapping_mode, reference_mode) 在此 VertexElementDoublesTemplate 实例上。
set_data(data: List[float])设置数据。
clear()从 direct 和 index 数组中删除所有元素。
copy_to(target: 'VertexElementDoublesTemplate')将数据复制到指定的元素。
set_indices(data: List[int])设置索引的值。

另请参阅

 中文