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