VertexElementUV class
VertexElementUV class
Defines the UV coordinates for specified components.
A geometry can have multiple VertexElementUV elements, and each one have different TextureMappings.
Inheritance: VertexElementUV →
VertexElementVector4 →
VertexElement
The VertexElementUV type exposes the following members:
Constructors
| Constructor | Description |
|---|---|
__init__(self) | Initializes a new instance of the VertexElementUV class.The default texture mapping type is TextureMapping.DIFFUSE |
__init__(self, texture_mapping) | Initializes a new instance of the VertexElementUV class. |
Properties
| Property | Description |
|---|---|
| vertex_element_type | Gets the type of the VertexElement |
| name | Gets or sets the name. |
| mapping_mode | Gets or sets how the element is mapped. |
| reference_mode | Gets or sets how the element is referenced. |
| indices | Gets the indices data |
| data | Gets the vertex data |
Methods
| Method | Description |
|---|---|
add_data(self, data) | |
add_data(self, data) | |
set_indices(self, data) | Load indices |
clear(self) | Removes all elements from the direct and the index arrays. |
copy_to(self, target) | Copies data to specified element |
set_data(self, data) | Load data |
See Also
- module
aspose.threed.entities - class
TextureMapping - class
VertexElement - class
VertexElementUV - class
VertexElementVector4