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
| Name | Type | Access | Description |
|---|---|---|---|
vertex_element_type | 'VertexElementType' | Read | Gets the vertex element type. |
name | str | Read/Write | Gets or sets the name. |
mapping_mode | 'MappingMode' | Read/Write | Gets or sets the mapping mode. |
reference_mode | 'ReferenceMode' | Read/Write | Gets or sets the reference mode. |
indices | List[int] | Read | Gets the indices. |
Methods
| Signature | Description |
|---|---|
__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 |