VertexElementVertexColor

VertexElementVertexColor

Overview

VertexElementVertexColor is a class in Aspose.3D FOSS for Python. Inherits from: VertexElementFVector.

This class declares 7 methods for VertexElementVertexColor 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

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

Methods

SignatureDescription
__init__(name: str, mapping_mode: 'MappingMode', reference_mode: 'ReferenceMode')Calls init(name, mapping_mode, reference_mode) on this VertexElementVertexColor instance.
__init__(element_type, name: str, mapping_mode: 'MappingMode', reference_mode: 'ReferenceMode')Calls init(element_type, name, mapping_mode, reference_mode) on this VertexElementVertexColor instance.
set_data(data)Sets the data value.
set_indices(data: List[int])Sets the indices value.
clear()Calls clear on this VertexElementVertexColor instance.
copy_to(target: 'VertexElementFVector')Calls copy_to(target) on this VertexElementVertexColor instance.
__init__(element_type: 'VertexElementType', name: str, mapping_mode: 'MappingMode', reference_mode: 'ReferenceMode')Calls init(element_type, name, mapping_mode, reference_mode) on this VertexElementVertexColor instance.

See Also

 English