Struct VertexPositionColorTextureAxis
Represents a vertex with position, color, texture coordinate and axis size.
Inherited Members
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
Vertex position.
Declaration
public Vector3 Position
Field Value
Type | Description |
---|---|
Vector3 |
TexCoord
Vertex texture coordinate.
Declaration
public Vector2 TexCoord
Field Value
Type | Description |
---|---|
Vector2 |
VertexFormat
Vertex format.
Declaration
public static readonly LayoutDescription VertexFormat
Field Value
Type | Description |
---|---|
LayoutDescription |