VertexElement class

VertexElement class

Base class of vertex elements. A vertex element type is identified by VertexElementType. A VertexElement describes how the vertex element is mapped to a geometry surface and how the mapping information is arranged in memory. A VertexElement contains Normals, UVs or other kind of information.

The VertexElement type exposes the following members:

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

Methods

MethodDescription
set_indicesLoad indices
clearClears all the data from this vertex element.

See Also