|
void | InitCamera () |
|
void | background (float gray) |
|
void | background (float r, float g, float b) |
|
void | background (Color col) |
|
void | backgroundFlags (CameraClearFlags flags) |
|
void | backgroundSkybox () |
|
RaycastHit | raycast (Vector3 origin, Vector3 direction, float distance=INFINITY, int layerMask=-1) |
|
RaycastHit2D | raycast (Vector2 origin, Vector2 direction, float distance=INFINITY, int layerMask=-1) |
|
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) |
|
|
enum | AxisMode { U3D,
P2D,
P3D
} |
|
enum | ColorMode { RGB,
HSB
} |
|
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) |
|
void | InitMath () |
|
virtual Color | convertColorSpace (float r, float g, float b, float a) |
|