C# Class SFML.Graphics.Glsl.Ivec2

Exibir arquivo Open project: SFML/SFML.Net Class Usage Examples

Public Properties

Property Type Description
X int
Y int

Public Methods

Method Description
Ivec2 ( Vector2i vec ) : System.Runtime.InteropServices

Construct the Ivec2 from a standard SFML Vector2i

Ivec2 ( int x, int y ) : System.Runtime.InteropServices

Construct the Ivec2 from its coordinates

Method Details

Ivec2() public method

Construct the Ivec2 from a standard SFML Vector2i
public Ivec2 ( Vector2i vec ) : System.Runtime.InteropServices
vec Vector2i A standard SFML 2D integer vector
return System.Runtime.InteropServices

Ivec2() public method

Construct the Ivec2 from its coordinates
public Ivec2 ( int x, int y ) : System.Runtime.InteropServices
x int X coordinate
y int Y coordinate
return System.Runtime.InteropServices

Property Details

X public_oe property

Horizontal component of the vector
public int X
return int

Y public_oe property

Vertical component of the vector
public int Y
return int