Class: Point2
This page documents the methods and fields available in the Point2 class.
Members
| Signature | Description |
|---|---|
Point2(int, int) | Creates a new instance of Point2. |
blend(Point2, int) | Performs the blend operation using the provided parameters (vector3, blend). |
blend(int, int) | Performs the blend operation using the provided parameters (a, blend). |
blend(int, int, int) | Performs the blend operation using the provided parameters (x, y, blend). |
copy() | Returns a copy of this Point2 instance. |
cross(Point2) | Performs the cross operation using the provided parameters (value). |
cross(int, int) | Performs the cross operation using the provided parameters (x, y). |
distance(Point2) | Performs the distance operation using the provided parameters (vector3). |
div(Point2) | Performs the div operation using the provided parameters (value). |
div(int) | Performs the div operation using the provided parameters (a). |
div(int, int) | Performs the div operation using the provided parameters (x, y). |
dot(Point2) | Performs the dot operation using the provided parameters (vector3). |
dot(int) | Performs the dot operation using the provided parameters (a). |
dot(int, int) | Performs the dot operation using the provided parameters (x, y). |
equals(Point2) | Compares this instance with another for equality/order. |
equals(int) | Compares this instance with another for equality/order. |
equals(int, int) | Compares this instance with another for equality/order. |
get() | Returns the current value. |
get() | Returns the current value. |
get() | Returns the current value. |
get() | Returns the current value. |
get() | Returns the current value. |
get() | Returns the current value. |
getInspector(Context, Field, Object, String, GetSetterListener, UserPointer) | Returns the current inspector. |
getInspectorForArray(Context, Object[], int, Object, String, GetSetterListener, UserPointer) | Returns the current inspector for array. |
getInspectorForList(Context, GhostList, int, Object, String, GetSetterListener, UserPointer) | Returns the current inspector for list. |
getSimpleName(UserPointer) | Returns the current simple name. |
getX() | Returns the current x. |
getY() | Returns the current y. |
isRestorable() | Returns whether restorable is true. |
length() | Performs the length operation. |
lerp(Point2, int) | Performs the lerp operation using the provided parameters (vector3, speed). |
lerp(int, int) | Performs the lerp operation using the provided parameters (a, speed). |
lerp(int, int, int) | Performs the lerp operation using the provided parameters (x, y, speed). |
lerpInSeconds(Point2, int) | Performs the lerpInSeconds operation using the provided parameters (vector3, speed). |
lerpInSeconds(int, int) | Performs the lerpInSeconds operation using the provided parameters (a, speed). |
lerpInSeconds(int, int, int) | Performs the lerpInSeconds operation using the provided parameters (x, y, speed). |
mul(Point2) | Performs the mul operation using the provided parameters (value). |
mul(int) | Performs the mul operation using the provided parameters (a). |
mul(int, int) | Performs the mul operation using the provided parameters (x, y). |
newInstance(UserPointer) | Creates a new instance. |
normalize() | Performs the normalize operation. |
normalizeLocal() | Performs the normalizeLocal operation. |
restore(Variable, UserPointer) | Performs the restore operation using the provided parameters (variable, userPointer). |
save(String, Object, UserPointer) | Saves data from the object. |
set(Point2) | Sets or updates the the value. |
set(Variable) | Sets or updates the the value. |
set(Variable) | Sets or updates the the value. |
set(Variable) | Sets or updates the the value. |
set(Variable) | Sets or updates the the value. |
set(Variable) | Sets or updates the the value. |
set(Variable) | Sets or updates the the value. |
set(Vector2) | Sets or updates the the value. |
set(int) | Sets or updates the the value. |
set(int, int) | Sets or updates the the value. |
setX(int) | Sets or updates the x. |
setY(int) | Sets or updates the y. |
sqrDistance(Point2) | Performs the sqrDistance operation using the provided parameters (vector3). |
sqrLength() | Performs the sqrLength operation. |
sub(Point2) | Performs the sub operation using the provided parameters (value). |
sub(int) | Performs the sub operation using the provided parameters (a). |
sub(int, int) | Performs the sub operation using the provided parameters (x, y). |
sum(Point2) | Performs the sum operation using the provided parameters (value). |
sum(int) | Performs the sum operation using the provided parameters (a). |
sum(int, int) | Performs the sum operation using the provided parameters (x, y). |
toString() | Returns the string representation. |
zero() | Performs the zero operation. |