Class VertexElementSpecular

VertexElementSpecular class

Defines specular color for specified components.

public class VertexElementSpecular : VertexElementVector4

Constructors

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

Properties

NameDescription
Data { get; }Gets the vertex data
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()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
override ToString()String representation of vertex element.

See Also