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.

This class provides 3 methods for working with VertexElement objects in Python programs. Available methods include: __init__, clear, set_indices. All public members are accessible to any Python application after installing the Aspose.3D FOSS for Python package. Properties: indices, mapping_mode, name, reference_mode, vertex_element_type.

Properties

NameTypeAccessDescription
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.
indicesList[int]ReadGets the indices.

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 indices value.
clear()Not implemented in the FOSS edition — throws at runtime. Removes all data from the element, resetting it to default state

See Also