|
void | frameRate (int fps) |
|
int | day () |
|
int | hour () |
|
int | millis () |
|
int | minute () |
|
int | month () |
|
int | second () |
|
int | year () |
|
float | abs (float f) |
|
int | ceil (float f) |
|
float | constrain (float amt, float low, float high) |
|
float | dist (float x1, float y1, float x2, float y2) |
|
float | dist (float x1, float y1, float z1, float x2, float y2, float z2) |
|
float | exp (float f) |
|
int | floor (float f) |
|
float | lerp (float start, float stop, float amt) |
|
float | log (float f) |
|
float | min (float a, float b) |
|
float | min (float a, float b, float c) |
|
float | min (params float[] values) |
|
float | max (float a, float b) |
|
float | max (float a, float b, float c) |
|
float | max (params float[] values) |
|
int | min (int a, int b) |
|
int | min (int a, int b, int c) |
|
int | max (int a, int b) |
|
int | max (int a, int b, int c) |
|
float | sq (float f) |
|
float | sqrt (float f) |
|
float | acos (float f) |
|
float | asin (float f) |
|
float | atan (float f) |
|
float | atan2 (float y, float x) |
|
float | cos (float f) |
|
float | sin (float f) |
|
float | tan (float f) |
|
float | degrees (float rad) |
|
float | radians (float deg) |
|
float | noise (float x) |
|
float | noise (float x, float y) |
|
float | random (float low, float high) |
|
float | random (float high) |
|
void | randomSeed (int seed) |
|
int | random (int high) |
|
int | random (int low, int high) |
|
string | nf (int num, int digits) |
|
string | nf (float num, int left, int right) |
|
string | nfs (int num, int digits) |
|
string | nfs (float num, int left, int right) |
|
string | nfp (int num, int digits) |
|
string | nfp (float num, int left, int right) |
|
string | nfc (int num) |
|
string | nfc (int num, int right) |
|
string [] | split (string value, char delim) |
|
string [] | splitTokens (string value, string delim="¥t¥n¥r¥f ") |
|
string | trim (string value) |
|
string | join (string[] stringArray, string separator) |
|
float | modulo (float a, float b) |
|
Vector3 | randomVec2 () |
|
Vector3 | randomVec3 () |
|
Vector3 | randomUnitVec3 () |
|
Vector3 | randomScaleVec3 (float r) |
|
Vector3 | curvePos (Vector3 v0, Vector3 v1, Vector3 v2, Vector3 v3, float t) |
|
Color | color (Color baseColor, float alpha=255) |
|
Color | color (float gray, float alpha=255) |
|
Color | color (float r, float g, float b, float a=255) |
|
bool | editorDialog (string title, string message, string ok="OK", string cancel=null) |
|
|
static float | mag (float x, float y) |
|
static float | mag (float x, float y, float z) |
|
static float | map (float value, float start1, float stop1, float start2, float stop2) |
|
static float | norm (float value, float start, float stop) |
|
static float | pow (float n, float e) |
|
static int | round (float f) |
|
static void | println (object message) |
|
static void | debuglog (object message) |
|
static void | debuglogWaring (object message) |
|
static void | debuglogError (object message) |
|
static void | assert (bool condition, string message=null) |
|
|
enum | AxisMode { U3D,
P2D,
P3D
} |
|
enum | ColorMode { RGB,
HSB
} |
|
const int | CORNER = -7 |
|
const int | CORNER_P5 = -6 |
|
const int | CENTER = -5 |
|
const int | TOP = -4 |
|
const int | BOTTOM = -3 |
|
const int | BASELINE = -2 |
|
const int | CODED = -1 |
|
const int | NONE = 0 |
|
const int | UP = 1 |
|
const int | DOWN = 2 |
|
const int | LEFT = 3 |
|
const int | RIGHT = 4 |
|
const int | MIDDLE = 5 |
|
const int | SHIFT = 10 |
|
const int | CTRL = 11 |
|
const int | BACKSPACE = 20 |
|
const int | TAB = 21 |
|
const int | ENTER = 22 |
|
const int | RETURN = ENTER |
|
const int | ESC = 23 |
|
const int | DELETE = 24 |
|
const AxisMode | U3D = AxisMode.U3D |
|
const AxisMode | P2D = AxisMode.P2D |
|
const AxisMode | P3D = AxisMode.P3D |
|
const UShape.VertexType | POINTS = UShape.VertexType.POINTS |
|
const UShape.VertexType | LINES = UShape.VertexType.LINES |
|
const UShape.VertexType | LINE_STRIP = UShape.VertexType.LINE_STRIP |
|
const UShape.VertexType | TRIANGLES = UShape.VertexType.TRIANGLES |
|
const UShape.VertexType | TRIANGLE_FAN = UShape.VertexType.TRIANGLE_FAN |
|
const UShape.VertexType | TRIANGLE_STRIP = UShape.VertexType.TRIANGLE_STRIP |
|
const UShape.VertexType | QUADS = UShape.VertexType.QUADS |
|
const UShape.VertexType | QUAD_STRIP = UShape.VertexType.QUAD_STRIP |
|
const UShape.CloseType | CLOSE = UShape.CloseType.CLOSE |
|
const ColorMode | RGB = ColorMode.RGB |
|
const ColorMode | HSB = ColorMode.HSB |
|
const float | INFINITY = Mathf.Infinity |
|