C# Class SFML.Graphics.Glsl.Ivec2

Afficher le fichier Open project: SFML/SFML.Net Class Usage Examples

Méthodes publiques

Свойство Type Description
X int
Y int

Méthodes publiques

Méthode 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 méthode

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

Ivec2() public méthode

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

Property Details

X public_oe property

Horizontal component of the vector
public int X
Résultat int

Y public_oe property

Vertical component of the vector
public int Y
Résultat int