VertexElementVertexColor class

VertexElementVertexColor class

Defines the vertex color for specified components

Inheritance: VertexElementVertexColorVertexElementVector4VertexElement

The VertexElementVertexColor type exposes the following members:

Constructors

ConstructorDescription
__init__(self)Initializes a new instance of the VertexElementVertexColor class.

Properties

PropertyDescription
vertex_element_typeGets the type of the VertexElement
nameGets or sets the name.
mapping_modeGets or sets how the element is mapped.
reference_modeGets or sets how the element is referenced.

Methods

MethodDescription
set_indices(self, data)Load indices
clear(self)Removes all elements from the direct and the index arrays.
copy_to(self, target)Copies data to specified element
set_data(self, data)Load data

See Also