Class VertexElementVector4

VertexElementVector4 class

A helper class for defining concrete VertexElement implementations.

public abstract class VertexElementVector4 : VertexElement

Properties

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

Methods

NameDescription
override Clear()Removes all elements from the direct and the index arrays.
CopyTo(VertexElementVector4)Copies data to specified element
SetData(Vector4[])Load data
SetIndices(int[])Load indices(Inherited from VertexElement.)
override ToString()String representation of vertex element.(Inherited from VertexElement.)

See Also