Property | Type | Description | |
---|---|---|---|
Down | Vector2 | ||
Left | Vector2 | ||
MinusOne | Vector2 | ||
One | Vector2 | ||
Right | Vector2 | ||
Up | Vector2 | ||
X | float | ||
Zero | Vector2 |
Method | Description | |
---|---|---|
Abs ( ) : Vector2 | ||
Abs ( Vector2 &vector, Vector2 &result ) : void | ||
Angle ( ) : float | ||
Angle ( Vector2 vector ) : float | ||
Angle ( Vector2 &vector1, Vector2 &vector2, float &result ) : void | ||
Angle ( Vector2 &vector, float &result ) : void | ||
Angle180 ( ) : float | ||
Angle180 ( Vector2 vector ) : float | ||
Angle180 ( Vector2 &vector1, Vector2 &vector2, float &result ) : void | ||
Angle180 ( Vector2 &vector, float &result ) : void | ||
Angle360 ( ) : float | ||
Angle360 ( Vector2 vector ) : float | ||
Angle360 ( Vector2 &vector1, Vector2 &vector2, float &result ) : void | ||
Angle360 ( Vector2 &vector, float &result ) : void | ||
Angle90 ( ) : float | ||
Angle90 ( Vector2 vector ) : float | ||
Angle90 ( Vector2 &vector1, Vector2 &vector2, float &result ) : void | ||
Angle90 ( Vector2 &vector, float &result ) : void | ||
ApproxEquals ( Vector2 vector, float tolerance ) : bool | ||
ApproxEquals ( Vector2 &vector1, Vector2 &vector2, float tolerance, bool &result ) : void | ||
AproxEqualsBox ( Vector2 vector, float tolerance ) : bool | ||
AproxEqualsBox ( Vector2 &vector1, Vector2 &vector2, float tolerance, bool &result ) : void | ||
Cross ( ) : Vector2 | ||
Cross ( Vector2 &vector, Vector2 &result ) : void | ||
DegToRad ( ) : Vector2 | ||
DegToRad ( Vector2 &vector, Vector2 &result ) : void | ||
Distance ( Vector2 vector ) : float | ||
Distance ( Vector2 &vector1, Vector2 &vector2, float &result ) : void | ||
DistanceSquared ( Vector2 vector ) : float | ||
DistanceSquared ( Vector2 &vector1, Vector2 &vector2, float &result ) : void | ||
Dot ( ) : float | ||
Dot ( Vector2 vector ) : float | ||
Dot ( Vector2 &vector1, Vector2 &vector2, float &result ) : void | ||
Dot ( Vector2 &vector, float &result ) : void | ||
Equals ( object obj ) : bool | ||
Floor ( ) : Vector2 | ||
Floor ( Vector2 &vector, Vector2 &result ) : void | ||
GetHashCode ( ) : int | ||
Length ( ) : float | ||
Length ( Vector2 &vector, float &result ) : void | ||
LengthSquared ( ) : float | ||
LengthSquared ( Vector2 &vector, float &result ) : void | ||
Lerp ( Vector2 start, Vector2 end, float interpolationAmount ) : Vector2 | ||
Lerp ( Vector2 &start, Vector2 &end, float interpolationAmount, Vector2 &result ) : void | ||
Max ( Vector2 values ) : Vector2 | ||
Max ( float value ) : Vector2 | ||
Max ( Vector2 &vector, Vector2 &values, Vector2 &result ) : void | ||
Max ( Vector2 &vector, float value, Vector2 &result ) : void | ||
Min ( Vector2 values ) : Vector2 | ||
Min ( float value ) : Vector2 | ||
Min ( Vector2 &vector, Vector2 &values, Vector2 &result ) : void | ||
Min ( Vector2 &vector, float value, Vector2 &result ) : void | ||
Normalize ( ) : Vector2 | ||
Normalize ( float &length ) : Vector2 | ||
Normalize ( Vector2 &vector, Vector2 &result ) : void | ||
Normalize ( Vector2 &vector, Vector2 &result, float &length ) : void | ||
NormalizeSafe ( ) : Vector2 | ||
NormalizeSafe ( float &length ) : Vector2 | ||
NormalizeSafe ( Vector2 &vector, Vector2 &result ) : void | ||
NormalizeSafe ( Vector2 &vector, Vector2 &result, float &length ) : void | ||
Pow ( float value ) : Vector2 | ||
Pow ( Vector2 &vector, float value, Vector2 &result ) : void | ||
RadToDeg ( ) : Vector2 | ||
RadToDeg ( Vector2 &vector, Vector2 &result ) : void | ||
Round ( ) : Vector2 | ||
Round ( Vector2 &vector, Vector2 &result ) : void | ||
SlopeXY ( ) : float | ||
SlopeYX ( ) : float | ||
ToPoint2 ( ) : Point2 | ||
ToPoint2 ( Vector2 &vector, Point2 &result ) : void | ||
ToSize2 ( ) : Size2 | ||
ToSize2 ( Vector2 &vector, Size2 &result ) : void | ||
ToString ( ) : string | ||
Transform ( Matrix2 matrix ) : Vector2 | ||
Transform ( Matrix2x3 matrix ) : Vector3 | ||
Transform ( Matrix3x2 matrix ) : Vector3 | ||
Transform ( Vector2 &vector, Matrix2 &matrix, Vector2 &result ) : void | ||
Transform ( Vector2 &vector, Matrix2x3 &matrix, Vector3 &result ) : void | ||
Transform ( Vector2 &vector, Matrix3x2 &matrix, Vector3 &result ) : void | ||
Vector2 ( float value ) : System | ||
Vector2 ( float x, float y ) : System | ||
operator ( ) : Vector2 | ||
operator ( ) : bool |
public static Abs ( Vector2 &vector, Vector2 &result ) : void | ||
vector | Vector2 | |
result | Vector2 | |
return | void |
public static Angle ( Vector2 &vector1, Vector2 &vector2, float &result ) : void | ||
vector1 | Vector2 | |
vector2 | Vector2 | |
result | float | |
return | void |
public static Angle ( Vector2 &vector, float &result ) : void | ||
vector | Vector2 | |
result | float | |
return | void |
public static Angle180 ( Vector2 &vector1, Vector2 &vector2, float &result ) : void | ||
vector1 | Vector2 | |
vector2 | Vector2 | |
result | float | |
return | void |
public static Angle180 ( Vector2 &vector, float &result ) : void | ||
vector | Vector2 | |
result | float | |
return | void |
public static Angle360 ( Vector2 &vector1, Vector2 &vector2, float &result ) : void | ||
vector1 | Vector2 | |
vector2 | Vector2 | |
result | float | |
return | void |
public static Angle360 ( Vector2 &vector, float &result ) : void | ||
vector | Vector2 | |
result | float | |
return | void |
public static Angle90 ( Vector2 &vector1, Vector2 &vector2, float &result ) : void | ||
vector1 | Vector2 | |
vector2 | Vector2 | |
result | float | |
return | void |
public static Angle90 ( Vector2 &vector, float &result ) : void | ||
vector | Vector2 | |
result | float | |
return | void |
public ApproxEquals ( Vector2 vector, float tolerance ) : bool | ||
vector | Vector2 | |
tolerance | float | |
return | bool |
public static ApproxEquals ( Vector2 &vector1, Vector2 &vector2, float tolerance, bool &result ) : void | ||
vector1 | Vector2 | |
vector2 | Vector2 | |
tolerance | float | |
result | bool | |
return | void |
public AproxEqualsBox ( Vector2 vector, float tolerance ) : bool | ||
vector | Vector2 | |
tolerance | float | |
return | bool |
public static AproxEqualsBox ( Vector2 &vector1, Vector2 &vector2, float tolerance, bool &result ) : void | ||
vector1 | Vector2 | |
vector2 | Vector2 | |
tolerance | float | |
result | bool | |
return | void |
public static Cross ( Vector2 &vector, Vector2 &result ) : void | ||
vector | Vector2 | |
result | Vector2 | |
return | void |
public static DegToRad ( Vector2 &vector, Vector2 &result ) : void | ||
vector | Vector2 | |
result | Vector2 | |
return | void |
public static Distance ( Vector2 &vector1, Vector2 &vector2, float &result ) : void | ||
vector1 | Vector2 | |
vector2 | Vector2 | |
result | float | |
return | void |
public DistanceSquared ( Vector2 vector ) : float | ||
vector | Vector2 | |
return | float |
public static DistanceSquared ( Vector2 &vector1, Vector2 &vector2, float &result ) : void | ||
vector1 | Vector2 | |
vector2 | Vector2 | |
result | float | |
return | void |
public static Dot ( Vector2 &vector1, Vector2 &vector2, float &result ) : void | ||
vector1 | Vector2 | |
vector2 | Vector2 | |
result | float | |
return | void |
public static Dot ( Vector2 &vector, float &result ) : void | ||
vector | Vector2 | |
result | float | |
return | void |
public static Floor ( Vector2 &vector, Vector2 &result ) : void | ||
vector | Vector2 | |
result | Vector2 | |
return | void |
public static Length ( Vector2 &vector, float &result ) : void | ||
vector | Vector2 | |
result | float | |
return | void |
public static LengthSquared ( Vector2 &vector, float &result ) : void | ||
vector | Vector2 | |
result | float | |
return | void |
public static Lerp ( Vector2 start, Vector2 end, float interpolationAmount ) : Vector2 | ||
start | Vector2 | |
end | Vector2 | |
interpolationAmount | float | |
return | Vector2 |
public static Lerp ( Vector2 &start, Vector2 &end, float interpolationAmount, Vector2 &result ) : void | ||
start | Vector2 | |
end | Vector2 | |
interpolationAmount | float | |
result | Vector2 | |
return | void |
public static Max ( Vector2 &vector, Vector2 &values, Vector2 &result ) : void | ||
vector | Vector2 | |
values | Vector2 | |
result | Vector2 | |
return | void |
public static Max ( Vector2 &vector, float value, Vector2 &result ) : void | ||
vector | Vector2 | |
value | float | |
result | Vector2 | |
return | void |
public static Min ( Vector2 &vector, Vector2 &values, Vector2 &result ) : void | ||
vector | Vector2 | |
values | Vector2 | |
result | Vector2 | |
return | void |
public static Min ( Vector2 &vector, float value, Vector2 &result ) : void | ||
vector | Vector2 | |
value | float | |
result | Vector2 | |
return | void |
public static Normalize ( Vector2 &vector, Vector2 &result ) : void | ||
vector | Vector2 | |
result | Vector2 | |
return | void |
public static Normalize ( Vector2 &vector, Vector2 &result, float &length ) : void | ||
vector | Vector2 | |
result | Vector2 | |
length | float | |
return | void |
public NormalizeSafe ( float &length ) : Vector2 | ||
length | float | |
return | Vector2 |
public static NormalizeSafe ( Vector2 &vector, Vector2 &result ) : void | ||
vector | Vector2 | |
result | Vector2 | |
return | void |
public static NormalizeSafe ( Vector2 &vector, Vector2 &result, float &length ) : void | ||
vector | Vector2 | |
result | Vector2 | |
length | float | |
return | void |
public static Pow ( Vector2 &vector, float value, Vector2 &result ) : void | ||
vector | Vector2 | |
value | float | |
result | Vector2 | |
return | void |
public static RadToDeg ( Vector2 &vector, Vector2 &result ) : void | ||
vector | Vector2 | |
result | Vector2 | |
return | void |
public static Round ( Vector2 &vector, Vector2 &result ) : void | ||
vector | Vector2 | |
result | Vector2 | |
return | void |
public static ToPoint2 ( Vector2 &vector, Point2 &result ) : void | ||
vector | Vector2 | |
result | Point2 | |
return | void |
public static ToSize2 ( Vector2 &vector, Size2 &result ) : void | ||
vector | Vector2 | |
result | Size2 | |
return | void |
public Transform ( Matrix2 matrix ) : Vector2 | ||
matrix | Matrix2 | |
return | Vector2 |
public Transform ( Matrix2x3 matrix ) : Vector3 | ||
matrix | Matrix2x3 | |
return | Vector3 |
public Transform ( Matrix3x2 matrix ) : Vector3 | ||
matrix | Matrix3x2 | |
return | Vector3 |
public static Transform ( Vector2 &vector, Matrix2 &matrix, Vector2 &result ) : void | ||
vector | Vector2 | |
matrix | Matrix2 | |
result | Vector2 | |
return | void |
public static Transform ( Vector2 &vector, Matrix2x3 &matrix, Vector3 &result ) : void | ||
vector | Vector2 | |
matrix | Matrix2x3 | |
result | Vector3 | |
return | void |
public static Transform ( Vector2 &vector, Matrix3x2 &matrix, Vector3 &result ) : void | ||
vector | Vector2 | |
matrix | Matrix3x2 | |
result | Vector3 | |
return | void |