VertexElementVertexColor class

VertexElementVertexColor class

Defines the vertex color for specified components

Inheritance: VertexElementVertexColorVertexElementVector4VertexElement

The VertexElementVertexColor type exposes the following members:

Constructors

ConstructorDescription
initInitializes 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.
indicesGets the indices data
dataGets the vertex data

Methods

MethodDescription
set_indicesLoad indices
clearRemoves all elements from the direct and the index arrays.
copy_toCopies data to specified element
set_dataLoad data

See Also