Show / Hide Table of Contents

Struct Vertex2D

Vertex data used in 2D drawing operations

Inherited Members
ValueType.Equals(object)
ValueType.GetHashCode()
ValueType.ToString()
object.GetType()
object.Equals(object, object)
object.ReferenceEquals(object, object)
Namespace: Yak2D
Assembly: Yak2D.Api.dll
Syntax
public struct Vertex2D

Properties

Colour

Additional mixing colour for vertex

Declaration
public Colour Colour { readonly get; set; }
Property Value
Type Description
Colour

Position

X, Y position

Declaration
public Vector2 Position { readonly get; set; }
Property Value
Type Description
Vector2

TexCoord0

Texture Coordinates for the primary texture reference

Declaration
public Vector2 TexCoord0 { readonly get; set; }
Property Value
Type Description
Vector2

TexCoord1

Texture Coordinates for the secondary texture reference

Declaration
public Vector2 TexCoord1 { readonly get; set; }
Property Value
Type Description
Vector2

TexWeighting

Weighting of primary texture in dual texturing scenarios (0 to 1) Secondary texture gets weighting 1 - value

Declaration
public float TexWeighting { readonly get; set; }
Property Value
Type Description
float
In this article
Back to top yak2D - Alex Paterson