Struct VertexPositionColorTextureAxis
Represents a vertex with position, color, texture coordinates, and axis size.
Namespace: Evergine.Common.Graphics.VertexFormats
Assembly: Evergine.Common.dll
Syntax
public struct VertexPositionColorTextureAxis
Constructors
VertexPositionColorTextureAxis(Vector3, Color, Vector2, Vector4)
Initializes a new instance of the VertexPositionColorTextureAxis struct.
Declaration
public VertexPositionColorTextureAxis(Vector3 position, Color color, Vector2 texCoord, Vector4 axisSize)
Parameters
Type | Name | Description |
---|---|---|
Vector3 | position | The position. |
Color | color | The color. |
Vector2 | texCoord | The texture coordinate. |
Vector4 | axisSize | The axis size. |
Fields
AxisSize
Vertex axis size.
Declaration
public Vector4 AxisSize
Field Value
Type | Description |
---|---|
Vector4 |
Color
Vertex color.
Declaration
public Color Color
Field Value
Type | Description |
---|---|
Color |
Position
The position of the vertex.
Declaration
public Vector3 Position
Field Value
Type | Description |
---|---|
Vector3 |
TexCoord
Vertex texture coordinates.
Declaration
public Vector2 TexCoord
Field Value
Type | Description |
---|---|
Vector2 |
VertexFormat
Represents the vertex format.
Declaration
public static readonly LayoutDescription VertexFormat
Field Value
Type | Description |
---|---|
LayoutDescription |