VertexElement

General

VertexElement és una classe en Aspose.3d per a Python.

VertexElement.name() getter retorna el nom semàntic de l’element vertex; name(value) setter canvia aquest nom.

Propietats

NameTypeAccessDescription
vertex_element_type'VertexElementType'ReadIndicates the type of data stored in this vertex element
namestrReadGetter returns the semantic name of the vertex element; name(value) setter changes that name
mapping_mode'MappingMode'ReadSpecifies how vertex data is mapped to geometry
reference_mode'ReferenceMode'ReadDefines how indices reference vertex data
indicesList[int]ReadReturns the list of integer indices associated with the vertex element

Mètodes

SignatureDescription
__init__(element_type: 'VertexElementType', name: str, mapping_mode: 'MappingMode', reference_mode: 'ReferenceMode')
set_indices(data: List[int])Assigns a list of integer indices to the element
clear()Removes all data from the vertex element, resetting it to default state
 Català