VertexElementUV
Přehled
VertexElementUV is a class in Aspose.3d for Python.
Inherits from: VertexElementFVector.
VertexElementUV je třída v Aspose.3d pro Python. Odvozuje se od: ⌒Vortex ElementsFVector` .
VertexElementUV ukládá souřadnice texture-mapping a poskytuje metodu textures_mappingu (() pro přístup k přidruženému objektu TextureMapping .
Vlastnosti
| Name | Type | Access | Description |
|---|---|---|---|
texture_mapping | 'TextureMapping' | Read | Gets the texture mapping. |
data | List['FVector4'] | Read | Gets the data. |
indices | List[int] | Read | Gets the indices. |
vertex_element_type | 'VertexElementType' | Read | Gets the vertex element type. |
name | str | Read/Write | Gets or sets the name. |
mapping_mode | 'MappingMode' | Read/Write | Gets or sets the mapping mode. |
reference_mode | 'ReferenceMode' | Read/Write | Gets or sets the reference mode. |
Metody
| Signature | Description |
|---|---|
__init__(texture_mapping: 'TextureMapping', name: str, mapping_mode: 'MappingMode', reference_mode: 'ReferenceMode') | |
add_data(data) | Adds UV coordinate data to the vertex element |
set_data(data) | Sets the data value. |
set_indices(data: List[int]) | Sets the indices value. |
clear() | |
copy_to(target: 'VertexElementFVector') | |
add_data(data) | Adds the supplied UV data to the vertex element |