VertexElementUV
Overview
VertexElementUV 是Python的Aspose.3D FOSS中的一个类. 继承人: VertexElementFVector.
VertexElementUV.texture_mapping gets or sets the texture mapping mode for the UV element.
本类提供了6种方法,用于在Python程序中与VertexElementUV对象工作. 有的方法包括: __init__, add_data, clear, copy_to, set_data, set_indices. 在安装Python包的Aspose.3D FOSS后,所有公众成员都可以访问任何 Python 应用程序. 特性: data, indices, mapping_mode, name, reference_mode, texture_mapping,另外一个.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
texture_mapping | 'TextureMapping' | Read | 得到了纹理映射. |
data | List['FVector4'] | Read | 得到数据. |
indices | List[int] | Read | 得到了指标. |
vertex_element_type | 'VertexElementType' | Read | 得到了顶点元素类型. |
name | str | 阅读/写作 | 得到或设置名字. |
mapping_mode | 'MappingMode' | 阅读/写作 | 获取或设置映射模式. |
reference_mode | 'ReferenceMode' | 阅读/写作 | 获取或设置参考模式. |
Methods
| Signature | Description |
|---|---|
__init__(texture_mapping: 'TextureMapping', name: str, mapping_mode: 'MappingMode', reference_mode: 'ReferenceMode') | |
add_data(data) | 将紫外线坐标数据添加到顶点元素中 |
set_data(data) | 设置数据值. |
set_indices(data: List[int]) | 设置索引值. |
clear() | |
copy_to(target: 'VertexElementFVector') |