VertexElementFVector
Overview
VertexElementFVector is a class in Aspose.3D FOSS for Python.
Inherits from: VertexElement.
VertexElementFVector.set_data replaces the element’s data list with the provided FVector4 collection.
This class provides 5 methods for working with VertexElementFVector objects in Python programs.
Available methods include: __init__, clear, copy_to, set_data, set_indices.
All public members are accessible to any Python application after installing the Aspose.3D FOSS for Python package.
Properties: data, indices, mapping_mode, name, reference_mode, vertex_element_type.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
data | List['FVector4'] | Read | Gets the data. |
indices | List[int] | Read | Gets the indices. |
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. |
Methods
| Signature | Description |
|---|---|
__init__(element_type, name: str, mapping_mode: 'MappingMode', reference_mode: 'ReferenceMode') | |
set_data(data) | Sets the data value. |
set_indices(data: List[int]) | Sets the indices value. |
clear() | Removes all data and index entries from the element |
copy_to(target: 'VertexElementFVector') | Copies this element’s data and indices into the target VertexElementFVector |