VertexElementUserData

VertexElementUserData

Overview

VertexElementUserData is a class in Aspose.3D FOSS for Python. Inherits from: VertexElement.

Defines the user data for specified components.

This class declares 6 methods for VertexElementUserData 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: 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
set_indices(data)Not implemented in the FOSS edition — throws at runtime. Sets the indices value.
clear()Not implemented in the FOSS edition — throws at runtime. Calls clear on this VertexElementUserData instance.
copy_to(target)Not implemented in the FOSS edition — throws at runtime. Calls copy_to(target) on this VertexElementUserData instance.
set_data(data)Not implemented in the FOSS edition — throws at runtime. Sets the data value.
__init__(element_type: 'VertexElementType', name: str, mapping_mode: 'MappingMode', reference_mode: 'ReferenceMode')Calls init(element_type, name, mapping_mode, reference_mode) on this VertexElementUserData instance.
set_indices(data: List[int])Sets the indices value.

See Also