Свойство | Type | Description | |
---|---|---|---|
X | float | ||
Y | float |
Méthode | Description | |
---|---|---|
DistanceTo ( Vector2 other ) : float |
Returns the distance from this Vector2 to the given Vector2
|
|
Equals ( object obj ) : bool | ||
GetHashCode ( ) : int | ||
Length ( ) : float |
Returns the length of this Vector2
|
|
ToString ( ) : string | ||
Vector2 ( Vector2 vec ) : System |
Initializes a new Vector2 by copying the values of the given Vector2
|
|
Vector2 ( float values ) : System |
Initializes a new Vector2 using the given float-array
|
|
Vector2 ( float x, float y ) : System |
Initializes a new Vector2 using the given values
|
|
operator ( ) : Vector2 | ||
operator ( ) : bool | ||
this ( int i ) : float |
public DistanceTo ( Vector2 other ) : float | ||
other | Vector2 | |
Résultat | float |
public Vector2 ( float x, float y ) : System | ||
x | float | |
y | float | |
Résultat | System |