Vector2i

There is currently no description for this class. Please help us by contributing one!

Properties

int

x

0

int

y

0

Constructors

Vector2i

Vector2i ( )

Vector2i

Vector2i ( Vector2i from )

Vector2i

Vector2i ( Vector2 from )

Vector2i

Vector2i ( int x, int y )

Methods

Vector2i

abs ( ) const

float

aspect ( ) const

Vector2i

clamp ( Vector2i min, Vector2i max ) const

Vector2i

clampi ( int min, int max ) const

int

distance_squared_to ( Vector2i to ) const

float

distance_to ( Vector2i to ) const

float

length ( ) const

int

length_squared ( ) const

Vector2i

max ( Vector2i with ) const

int

max_axis_index ( ) const

Vector2i

maxi ( int with ) const

Vector2i

min ( Vector2i with ) const

int

min_axis_index ( ) const

Vector2i

mini ( int with ) const

Vector2i

sign ( ) const

Vector2i

snapped ( Vector2i step ) const

Vector2i

snappedi ( int step ) const

Operators

bool

operator != ( Vector2i right )

Vector2i

operator % ( Vector2i right )

Vector2i

operator % ( int right )

Vector2i

operator * ( Vector2i right )

Vector2

operator * ( float right )

Vector2i

operator * ( int right )

Vector2i

operator + ( Vector2i right )

Vector2i

operator - ( Vector2i right )

Vector2i

operator / ( Vector2i right )

Vector2

operator / ( float right )

Vector2i

operator / ( int right )

bool

operator < ( Vector2i right )

bool

operator <= ( Vector2i right )

bool

operator == ( Vector2i right )

bool

operator > ( Vector2i right )

bool

operator >= ( Vector2i right )

int

operator [] ( int index )

Vector2i

operator unary+ ( )

Vector2i

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 = Vector2i(0, 0)

There is currently no description for this constant. Please help us by contributing one!

ONE = Vector2i(1, 1)

There is currently no description for this constant. Please help us by contributing one!

MIN = Vector2i(-2147483648, -2147483648)

There is currently no description for this constant. Please help us by contributing one!

MAX = Vector2i(2147483647, 2147483647)

There is currently no description for this constant. Please help us by contributing one!

LEFT = Vector2i(-1, 0)

There is currently no description for this constant. Please help us by contributing one!

RIGHT = Vector2i(1, 0)

There is currently no description for this constant. Please help us by contributing one!

UP = Vector2i(0, -1)

There is currently no description for this constant. Please help us by contributing one!

DOWN = Vector2i(0, 1)

There is currently no description for this constant. Please help us by contributing one!


Property Descriptions

int x = 0

There is currently no description for this property. Please help us by contributing one!


int y = 0

There is currently no description for this property. Please help us by contributing one!


Constructor Descriptions

Vector2i Vector2i ( )

There is currently no description for this constructor. Please help us by contributing one!


Vector2i Vector2i ( Vector2i from )

There is currently no description for this constructor. Please help us by contributing one!


Vector2i Vector2i ( Vector2 from )

There is currently no description for this constructor. Please help us by contributing one!


Vector2i Vector2i ( int x, int y )

There is currently no description for this constructor. Please help us by contributing one!


Method Descriptions

Vector2i abs ( ) 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!


Vector2i clamp ( Vector2i min, Vector2i max ) const

There is currently no description for this method. Please help us by contributing one!


Vector2i clampi ( int min, int max ) const

There is currently no description for this method. Please help us by contributing one!


int distance_squared_to ( Vector2i to ) const

There is currently no description for this method. Please help us by contributing one!


float distance_to ( Vector2i to ) 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!


int length_squared ( ) const

There is currently no description for this method. Please help us by contributing one!


Vector2i max ( Vector2i 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!


Vector2i maxi ( int with ) const

There is currently no description for this method. Please help us by contributing one!


Vector2i min ( Vector2i 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!


Vector2i mini ( int with ) const

There is currently no description for this method. Please help us by contributing one!


Vector2i sign ( ) const

There is currently no description for this method. Please help us by contributing one!


Vector2i snapped ( Vector2i step ) const

There is currently no description for this method. Please help us by contributing one!


Vector2i snappedi ( int step ) const

There is currently no description for this method. Please help us by contributing one!


Operator Descriptions

bool operator != ( Vector2i right )

There is currently no description for this operator. Please help us by contributing one!


Vector2i operator % ( Vector2i right )

There is currently no description for this operator. Please help us by contributing one!


Vector2i operator % ( int right )

There is currently no description for this operator. Please help us by contributing one!


Vector2i operator * ( Vector2i 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!


Vector2i operator * ( int right )

There is currently no description for this operator. Please help us by contributing one!


Vector2i operator + ( Vector2i right )

There is currently no description for this operator. Please help us by contributing one!


Vector2i operator - ( Vector2i right )

There is currently no description for this operator. Please help us by contributing one!


Vector2i operator / ( Vector2i 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!


Vector2i operator / ( int right )

There is currently no description for this operator. Please help us by contributing one!


bool operator < ( Vector2i right )

There is currently no description for this operator. Please help us by contributing one!


bool operator <= ( Vector2i right )

There is currently no description for this operator. Please help us by contributing one!


bool operator == ( Vector2i right )

There is currently no description for this operator. Please help us by contributing one!


bool operator > ( Vector2i right )

There is currently no description for this operator. Please help us by contributing one!


bool operator >= ( Vector2i right )

There is currently no description for this operator. Please help us by contributing one!


int operator [] ( int index )

There is currently no description for this operator. Please help us by contributing one!


Vector2i operator unary+ ( )

There is currently no description for this operator. Please help us by contributing one!


Vector2i operator unary- ( )

There is currently no description for this operator. Please help us by contributing one!