Метод | Описание | |
---|---|---|
Distance ( |
Calculate Distance from this Vector2 to another Vector2
|
|
Distance ( |
Calculate Distance between 2 Vector2
|
|
Normalize ( |
Calculate Unit Vector from this Vector2 to Second Vector2(A Vector2 with magnitude of 1).
|
|
Normalize ( |
Calculate Unit Vector based on the 2 Vector2(A Vector2 with magnitude of 1).
|
|
Vector2 ( float x, float y ) : System | ||
operator ( ) : |
public Distance ( |
||
b | Second Vector2 | |
Результат | float |
public static Distance ( |
||
a | First Vector2 | |
b | Second Vector2 | |
Результат | float |
public Normalize ( |
||
b | Second Vector2 | |
Результат |
public static Normalize ( |
||
a | First Vector2 | |
b | Second Vector2 | |
Результат |
public Vector2 ( float x, float y ) : System | ||
x | float | |
y | float | |
Результат | System |