Struct VertexPositionNormalDualTexture
Represents a vertex with position, normal and texture coordinate.
Inherited Members
Namespace: Evergine.Common.Graphics.VertexFormats
Assembly: Evergine.Common.dll
Syntax
public struct VertexPositionNormalDualTexture
Constructors
VertexPositionNormalDualTexture(Vector3, Vector3, Vector2, Vector2)
Initializes a new instance of the VertexPositionNormalDualTexture struct.
Declaration
public VertexPositionNormalDualTexture(Vector3 position, Vector3 normal, Vector2 texCoord, Vector2 texCoord2)
Parameters
Type | Name | Description |
---|---|---|
Vector3 | position | The position. |
Vector3 | normal | The normal. |
Vector2 | texCoord | The first texture coordinate. |
Vector2 | texCoord2 | The second texture coordinate. |
Fields
Normal
Vertex normal.
Declaration
public Vector3 Normal
Field Value
Type | Description |
---|---|
Vector3 |
Position
Vertex position.
Declaration
public Vector3 Position
Field Value
Type | Description |
---|---|
Vector3 |
TexCoord
Vertex texture coordinate.
Declaration
public Vector2 TexCoord
Field Value
Type | Description |
---|---|
Vector2 |
TexCoord2
Second vertex texture coordinate.
Declaration
public Vector2 TexCoord2
Field Value
Type | Description |
---|---|
Vector2 |
VertexFormat
Vertex format.
Declaration
public static readonly LayoutDescription VertexFormat
Field Value
Type | Description |
---|---|
LayoutDescription |