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
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
override Clear()Clears all the data from this vertex element.
SetIndices(int[])Load indices
override ToString()String representation of vertex element.

See Also