VertexElementUV

VertexElementUV

Overview

VertexElementUV is a class in Aspose.3D FOSS for Python. Inherits from: VertexElementFVector.

VertexElementUV.texture_mapping gets or sets the texture mapping mode for the UV element.

This class provides 6 methods for working with 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

NameTypeAccessDescription
texture_mapping'TextureMapping'ReadGets the texture mapping.
dataList['FVector4']ReadGets the data.
indicesList[int]ReadGets the indices.
vertex_element_type'VertexElementType'ReadGets the vertex element type.
namestrRead/WriteGets or sets the name.
mapping_mode'MappingMode'Read/WriteGets or sets the mapping mode.
reference_mode'ReferenceMode'Read/WriteGets or sets the reference mode.

Methods

SignatureDescription
__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')

See Also