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