VertexElementUV

VertexElementUV

General

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

VertexElementUV és una classe en Aspose.3d per a Python. Hereta de: ⌒Vortex ElementsFVector゚ .

VertexElementUV emmagatzemà coordenades de texture-mapping i proporciona un mètode texure_mapping ((() per accedir a l’objecte TextureMapping associat.

Propietats

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.

Mètodes

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')
add_data(data)Adds the supplied UV data to the vertex element
 Català