Struct VertexPositionNormalColor
Represents a vertex with position, color, and texture coordinates.
Namespace: Evergine.Common.Graphics.VertexFormats
Assembly: Evergine.Common.dll
Syntax
public struct VertexPositionNormalColor
Constructors
VertexPositionNormalColor(Vector3, Vector3, Color)
Initializes a new instance of the VertexPositionNormalColor struct.
Declaration
public VertexPositionNormalColor(Vector3 position, Vector3 normal, Color color)
Parameters
Type | Name | Description |
---|---|---|
Vector3 | position | The position. |
Vector3 | normal | The normal vector. |
Color | color | The color. |
Fields
Color
Vertex color.
Declaration
public Color Color
Field Value
Type | Description |
---|---|
Color |
Normal
Vertex normal.
Declaration
public Vector3 Normal
Field Value
Type | Description |
---|---|
Vector3 |
Position
Vertex position.
Declaration
public Vector3 Position
Field Value
Type | Description |
---|---|
Vector3 |
VertexFormat
Vertex format.
Declaration
public static readonly LayoutDescription VertexFormat
Field Value
Type | Description |
---|---|
LayoutDescription |