VertexElementUV
Overview
VertexElementUV is a class in Aspose.3D FOSS for Python.
Inherits from: VertexElementFVector.
VertexElementUV includes a texture_mapping property that describes how UV coordinates map to texture layers.
This class declares 8 methods for VertexElementUV objects in Python programs.
Available methods include: __init__, add_data, clear, copy_to, set_data, set_indices.
All public members are accessible to any Python application after installing the Aspose.3D FOSS for Python package.
Properties: data, indices, mapping_mode, name, reference_mode, texture_mapping, and 1 more.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
texture_mapping | 'TextureMapping' | Read | Gets the texture mapping. |
data | 'ArrayListAdapter[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. |
Methods
| Signature | Description |
|---|---|
__init__(texture_mapping: 'TextureMapping', name: str, mapping_mode: 'MappingMode', reference_mode: 'ReferenceMode') | Calls init(texture_mapping, name, mapping_mode, reference_mode) on this VertexElementUV instance. |
add_data(data) | Adds UV coordinate data to the vertex element |
__init__(element_type, name: str, mapping_mode: 'MappingMode', reference_mode: 'ReferenceMode') | Calls init(element_type, name, mapping_mode, reference_mode) on this VertexElementUV instance. |
set_data(data) | Sets the data value. |
set_indices(data: List[int]) | Sets the indices value. |
clear() | Calls clear on this VertexElementUV instance. |
copy_to(target: 'VertexElementFVector') | Calls copy_to(target) on this VertexElementUV instance. |
__init__(element_type: 'VertexElementType', name: str, mapping_mode: 'MappingMode', reference_mode: 'ReferenceMode') | Calls init(element_type, name, mapping_mode, reference_mode) on this VertexElementUV instance. |