VertexElementUV

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

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.

Metody

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
 Čeština