Property | Type | Description | |
---|---|---|---|
down | |||
left | |||
one | |||
right | |||
up | |||
x | int | ||
y | int | ||
zero |
Method | Description | |
---|---|---|
Clamp ( |
Return clamped version of specified vector with min/max range.
|
|
Equals ( object rhs ) : bool |
Is instance equals with specified one.
|
|
GetHashCode ( ) : int |
Get hash code.
|
|
Max ( |
Combine new Vector2i from max values of two vectors.
|
|
Min ( |
Combine new Vector2i from min values of two vectors.
|
|
ToString ( ) : string |
Return formatted X/Y values.
|
|
Vector2i ( Vector2 v ) : System |
Initialization from Vector2 instance.
|
|
Vector2i ( |
Initialization from Vector2i instance.
|
|
Vector2i ( Vector3 v ) : System |
Initialization from Vector3 instance.
|
|
Vector2i ( |
Initialization from Vector3i instance.
|
|
Vector2i ( Vector4 v ) : System |
Initialization from Vector4 instance.
|
|
Vector2i ( |
Initialization from Vector4i instance.
|
|
Vector2i ( int inX, int inY ) : System |
Initialization with custom values for X/Y.
|
|
operator ( ) : |
||
operator ( ) : bool |
public static Clamp ( |
||
value | Source vector. | |
min | Min value. | |
max | Max value. | |
return |
public Equals ( object rhs ) : bool | ||
rhs | object | Specified instance for comparation. |
return | bool |
public static Max ( |
||
lhs | First vector. | |
rhs | Second vector. | |
return |
public static Min ( |
||
lhs | First vector. | |
rhs | Second vector. | |
return |
public Vector2i ( int inX, int inY ) : System | ||
inX | int | X value. |
inY | int | Y value. |
return | System |