Click or drag to resize
DigitalRuneVertexPositionNormalColor Structure
Describes a custom vertex format structure that contains position, normal vector and color.

Namespace: DigitalRune.Graphics
Assembly: DigitalRune.Graphics (in DigitalRune.Graphics.dll) Version: 1.2.0.0 (1.2.1.14562)
Syntax
[SerializableAttribute]
public struct VertexPositionNormalColor : IVertexType

The VertexPositionNormalColor type exposes the following members.

Constructors
  NameDescription
Public methodVertexPositionNormalColor
Initializes a new instance of the VertexPositionNormalColor struct.
Top
Methods
Operators
  NameDescription
Public operatorStatic memberEquality
Compares two objects to determine whether they are the same.
Public operatorStatic memberInequality
Compares two objects to determine whether they are different.
Top
Fields
  NameDescription
Public fieldColor
The vertex color.
Public fieldNormal
The vertex normal vector.
Public fieldPosition
The vertex position.
Public fieldStatic memberVertexDeclaration
The vertex declaration.
Top
Properties
  NameDescription
Public propertyStatic memberSizeInBytes
Gets the size of the VertexPositionNormalColor structure in bytes.
Top
Explicit Interface Implementations
  NameDescription
Explicit interface implementationPrivate propertyIVertexType.VertexDeclaration
Gets the vertex declaration.
Top
See Also