VertexElement

Overview

VertexElement is a class in Aspose.3D FOSS for Python.

VertexElement.set_indices sets the element’s index list to the provided integer list.

Properties

NameTypeAccessDescription
vertex_element_type'VertexElementType'ReadRepresents the type of data stored in the vertex element
namestrReadRepresents the identifier name of the vertex element
mapping_mode'MappingMode'ReadRepresents how vertex data is mapped to geometry
reference_mode'ReferenceMode'ReadRepresents the reference method used for the vertex data
indicesList[int]ReadProvides the list of integer indices associated with the element
_vertex_element_type``Read
_name``Read
_mapping_mode``Read
_reference_mode``Read

Methods

SignatureDescription
__init__(element_type: 'VertexElementType', name: str, mapping_mode: 'MappingMode', reference_mode: 'ReferenceMode')
set_indices(data: List[int])Not implemented in the FOSS edition — throws at runtime. Sets the element’s index list to the provided integer list
clear()Not implemented in the FOSS edition — throws at runtime. Removes all data from the element, resetting it to default state

See Also