Class VertexElementUserData

VertexElementUserData class

Defines custom user data for specified components. Usually it’s application-specific data for special purpose.

public class VertexElementUserData : VertexElement

Constructors

NameDescription
VertexElementUserData()Initializes a new instance of the VertexElementUserData class.

Properties

NameDescription
Data { get; set; }The user data attached in this element
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()Clears all the data from this vertex element.
SetIndices(int[])Load indices(Inherited from VertexElement.)
override ToString()String representation of vertex element.(Inherited from VertexElement.)

See Also