C# Class Sparrow.Utils.Vertex

Show file Open project: fmotagarcia/sparrow-sharp Class Usage Examples

Public Properties

Property Type Description
Position Vector2
TexCoords Vector2

Public Methods

Method Description
Copy ( Vertex source, int sourceOffset, Vertex target, int targetOffset, int count ) : void

Copies the source to the target array. Note that this is an unsafe operation, if you supply wrong offset/count values it can lead to memory corruption!

Method Details

Copy() public static method

Copies the source to the target array. Note that this is an unsafe operation, if you supply wrong offset/count values it can lead to memory corruption!
public static Copy ( Vertex source, int sourceOffset, Vertex target, int targetOffset, int count ) : void
source Vertex
sourceOffset int
target Vertex
targetOffset int
count int
return void

Property Details

Position public property

public Vector2 Position
return Vector2

TexCoords public property

public Vector2 TexCoords
return Vector2