Class VertexElement

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.

public abstract class VertexElement : IIndexedVertexElement

Properties

NameDescription
Indices { get; }Gets the indices data
MappingMode { get; set; }Gets or sets how the element is mapped.
Name { get; set; }Gets or sets the name.
ReferenceMode { get; set; }Gets or sets how the element is referenced.
VertexElementType { get; }Gets the type of the VertexElement

Methods

NameDescription
abstract Clear()Clears all the data from this vertex element.
SetIndices(int[])Load indices
override ToString()String representation of vertex element.

See Also