Vector2
There is currently no description for this class. Please help us by contributing one!
Properties
|
||
|
Constructors
Vector2 ( ) |
|
Methods
abs ( ) const |
|
angle ( ) const |
|
angle_to_point ( Vector2 to ) const |
|
aspect ( ) const |
|
bezier_derivative ( Vector2 control_1, Vector2 control_2, Vector2 end, float t ) const |
|
bezier_interpolate ( Vector2 control_1, Vector2 control_2, Vector2 end, float t ) const |
|
ceil ( ) const |
|
cubic_interpolate ( Vector2 b, Vector2 pre_a, Vector2 post_b, float weight ) const |
|
cubic_interpolate_in_time ( Vector2 b, Vector2 pre_a, Vector2 post_b, float weight, float b_t, float pre_a_t, float post_b_t ) const |
|
direction_to ( Vector2 to ) const |
|
distance_squared_to ( Vector2 to ) const |
|
distance_to ( Vector2 to ) const |
|
floor ( ) const |
|
from_angle ( float angle ) static |
|
is_equal_approx ( Vector2 to ) const |
|
is_finite ( ) const |
|
is_normalized ( ) const |
|
is_zero_approx ( ) const |
|
length ( ) const |
|
length_squared ( ) const |
|
limit_length ( float length=1.0 ) const |
|
max_axis_index ( ) const |
|
min_axis_index ( ) const |
|
move_toward ( Vector2 to, float delta ) const |
|
normalized ( ) const |
|
orthogonal ( ) const |
|
round ( ) const |
|
sign ( ) const |
|
Operators
operator != ( Vector2 right ) |
|
operator * ( Transform2D right ) |
|
operator * ( Vector2 right ) |
|
operator * ( float right ) |
|
operator * ( int right ) |
|
operator + ( Vector2 right ) |
|
operator - ( Vector2 right ) |
|
operator / ( Vector2 right ) |
|
operator / ( float right ) |
|
operator / ( int right ) |
|
operator < ( Vector2 right ) |
|
operator <= ( Vector2 right ) |
|
operator == ( Vector2 right ) |
|
operator > ( Vector2 right ) |
|
operator >= ( Vector2 right ) |
|
operator [] ( int index ) |
|
operator unary+ ( ) |
|
operator unary- ( ) |
Constants
AXIS_X = 0
There is currently no description for this constant. Please help us by contributing one!
AXIS_Y = 1
There is currently no description for this constant. Please help us by contributing one!
ZERO = Vector2(0, 0)
There is currently no description for this constant. Please help us by contributing one!
ONE = Vector2(1, 1)
There is currently no description for this constant. Please help us by contributing one!
INF = Vector2(inf, inf)
There is currently no description for this constant. Please help us by contributing one!
LEFT = Vector2(-1, 0)
There is currently no description for this constant. Please help us by contributing one!
RIGHT = Vector2(1, 0)
There is currently no description for this constant. Please help us by contributing one!
UP = Vector2(0, -1)
There is currently no description for this constant. Please help us by contributing one!
DOWN = Vector2(0, 1)
There is currently no description for this constant. Please help us by contributing one!
Property Descriptions
float x = 0.0
There is currently no description for this property. Please help us by contributing one!
float y = 0.0
There is currently no description for this property. Please help us by contributing one!
Constructor Descriptions
Vector2 Vector2 ( )
There is currently no description for this constructor. Please help us by contributing one!
Vector2 Vector2 ( Vector2 from )
There is currently no description for this constructor. Please help us by contributing one!
Vector2 Vector2 ( Vector2i from )
There is currently no description for this constructor. Please help us by contributing one!
Vector2 Vector2 ( float x, float y )
There is currently no description for this constructor. Please help us by contributing one!
Method Descriptions
Vector2 abs ( ) const
There is currently no description for this method. Please help us by contributing one!
float angle ( ) const
There is currently no description for this method. Please help us by contributing one!
float angle_to ( Vector2 to ) const
There is currently no description for this method. Please help us by contributing one!
float angle_to_point ( Vector2 to ) const
There is currently no description for this method. Please help us by contributing one!
float aspect ( ) const
There is currently no description for this method. Please help us by contributing one!
Vector2 bezier_derivative ( Vector2 control_1, Vector2 control_2, Vector2 end, float t ) const
There is currently no description for this method. Please help us by contributing one!
Vector2 bezier_interpolate ( Vector2 control_1, Vector2 control_2, Vector2 end, float t ) const
There is currently no description for this method. Please help us by contributing one!
Vector2 bounce ( Vector2 n ) const
There is currently no description for this method. Please help us by contributing one!
Vector2 ceil ( ) const
There is currently no description for this method. Please help us by contributing one!
Vector2 clamp ( Vector2 min, Vector2 max ) const
There is currently no description for this method. Please help us by contributing one!
Vector2 clampf ( float min, float max ) const
There is currently no description for this method. Please help us by contributing one!
float cross ( Vector2 with ) const
There is currently no description for this method. Please help us by contributing one!
Vector2 cubic_interpolate ( Vector2 b, Vector2 pre_a, Vector2 post_b, float weight ) const
There is currently no description for this method. Please help us by contributing one!
Vector2 cubic_interpolate_in_time ( Vector2 b, Vector2 pre_a, Vector2 post_b, float weight, float b_t, float pre_a_t, float post_b_t ) const
There is currently no description for this method. Please help us by contributing one!
Vector2 direction_to ( Vector2 to ) const
There is currently no description for this method. Please help us by contributing one!
float distance_squared_to ( Vector2 to ) const
There is currently no description for this method. Please help us by contributing one!
float distance_to ( Vector2 to ) const
There is currently no description for this method. Please help us by contributing one!
float dot ( Vector2 with ) const
There is currently no description for this method. Please help us by contributing one!
Vector2 floor ( ) const
There is currently no description for this method. Please help us by contributing one!
Vector2 from_angle ( float angle ) static
There is currently no description for this method. Please help us by contributing one!
bool is_equal_approx ( Vector2 to ) const
There is currently no description for this method. Please help us by contributing one!
bool is_finite ( ) const
There is currently no description for this method. Please help us by contributing one!
bool is_normalized ( ) const
There is currently no description for this method. Please help us by contributing one!
bool is_zero_approx ( ) const
There is currently no description for this method. Please help us by contributing one!
float length ( ) const
There is currently no description for this method. Please help us by contributing one!
float length_squared ( ) const
There is currently no description for this method. Please help us by contributing one!
Vector2 lerp ( Vector2 to, float weight ) const
There is currently no description for this method. Please help us by contributing one!
Vector2 limit_length ( float length=1.0 ) const
There is currently no description for this method. Please help us by contributing one!
Vector2 max ( Vector2 with ) const
There is currently no description for this method. Please help us by contributing one!
int max_axis_index ( ) const
There is currently no description for this method. Please help us by contributing one!
Vector2 maxf ( float with ) const
There is currently no description for this method. Please help us by contributing one!
Vector2 min ( Vector2 with ) const
There is currently no description for this method. Please help us by contributing one!
int min_axis_index ( ) const
There is currently no description for this method. Please help us by contributing one!
Vector2 minf ( float with ) const
There is currently no description for this method. Please help us by contributing one!
Vector2 move_toward ( Vector2 to, float delta ) const
There is currently no description for this method. Please help us by contributing one!
Vector2 normalized ( ) const
There is currently no description for this method. Please help us by contributing one!
Vector2 orthogonal ( ) const
There is currently no description for this method. Please help us by contributing one!
Vector2 posmod ( float mod ) const
There is currently no description for this method. Please help us by contributing one!
Vector2 posmodv ( Vector2 modv ) const
There is currently no description for this method. Please help us by contributing one!
Vector2 project ( Vector2 b ) const
There is currently no description for this method. Please help us by contributing one!
Vector2 reflect ( Vector2 line ) const
There is currently no description for this method. Please help us by contributing one!
Vector2 rotated ( float angle ) const
There is currently no description for this method. Please help us by contributing one!
Vector2 round ( ) const
There is currently no description for this method. Please help us by contributing one!
Vector2 sign ( ) const
There is currently no description for this method. Please help us by contributing one!
Vector2 slerp ( Vector2 to, float weight ) const
There is currently no description for this method. Please help us by contributing one!
Vector2 slide ( Vector2 n ) const
There is currently no description for this method. Please help us by contributing one!
Vector2 snapped ( Vector2 step ) const
There is currently no description for this method. Please help us by contributing one!
Vector2 snappedf ( float step ) const
There is currently no description for this method. Please help us by contributing one!
Operator Descriptions
bool operator != ( Vector2 right )
There is currently no description for this operator. Please help us by contributing one!
Vector2 operator * ( Transform2D right )
There is currently no description for this operator. Please help us by contributing one!
Vector2 operator * ( Vector2 right )
There is currently no description for this operator. Please help us by contributing one!
Vector2 operator * ( float right )
There is currently no description for this operator. Please help us by contributing one!
Vector2 operator * ( int right )
There is currently no description for this operator. Please help us by contributing one!
Vector2 operator + ( Vector2 right )
There is currently no description for this operator. Please help us by contributing one!
Vector2 operator - ( Vector2 right )
There is currently no description for this operator. Please help us by contributing one!
Vector2 operator / ( Vector2 right )
There is currently no description for this operator. Please help us by contributing one!
Vector2 operator / ( float right )
There is currently no description for this operator. Please help us by contributing one!
Vector2 operator / ( int right )
There is currently no description for this operator. Please help us by contributing one!
bool operator < ( Vector2 right )
There is currently no description for this operator. Please help us by contributing one!
bool operator <= ( Vector2 right )
There is currently no description for this operator. Please help us by contributing one!
bool operator == ( Vector2 right )
There is currently no description for this operator. Please help us by contributing one!
bool operator > ( Vector2 right )
There is currently no description for this operator. Please help us by contributing one!
bool operator >= ( Vector2 right )
There is currently no description for this operator. Please help us by contributing one!
float operator [] ( int index )
There is currently no description for this operator. Please help us by contributing one!
Vector2 operator unary+ ( )
There is currently no description for this operator. Please help us by contributing one!
Vector2 operator unary- ( )
There is currently no description for this operator. Please help us by contributing one!