VertexElementUserData

VertexElementUserData class

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

public class VertexElementUserData : VertexElement

Constructors

Name Description
VertexElementUserData() Initializes a new instance of the VertexElementUserData class.

Properties

Name Description
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

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

See Also