VertexElement

Overview

VertexElement is a class in Aspose.3d for Python.

VertexElement.name() getter returns the semantic name of the vertex element; name(value) setter changes that name.

Properties

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

Methods

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