Структуры данных | |
class | DiagMenu |
Перечисления | |
enum | ErrorExSeverity |
enum | ShapeType { BBOX , LINE , SPHERE , CYLINDER , DIAMOND , PYRAMID } |
enum | ShapeFlags { NOZBUFFER , NOZWRITE , WIREFRAME , TRANSP , DOUBLESIDE , ONCE , NOOUTLINE , BACKFACE , NOCULL , VISIBLE , ADDITIVE } |
enum | CollisionFlags |
Функции | |
proto void | DumpStack () |
Prints current call stack (stack trace) | |
proto void | DumpStackString (out string stack) |
Prints current call stack (stack trace) to given output. | |
proto void | DebugBreak (bool condition=true, void param1=NULL, void param2=NULL, void param3=NULL, void param4=NULL, void param5=NULL, void param6=NULL, void param7=NULL, void param8=NULL, void param9=NULL) |
Triggers breakpoint in C++ in run time(when app is running in debug enviroment) | |
void | CompileBreak () |
Triggers breakpoint in C++ in compile time(when app is running in debug enviroment) | |
proto void | DPrint (string var) |
Prints content of variable to console/log. Should be used for critical messages so it will appear in debug log. | |
enum ErrorExSeverity | ErrorEx (string err, ErrorExSeverity severity=ErrorExSeverity.ERROR) |
Error message, prefixed by method name, above 'INFO' will show a messagebox. | |
proto void | ErrorExString (string err, out string str, ErrorExSeverity severity=ErrorExSeverity.ERROR) |
proto native void | Error2 (string title, string err) |
Messagebox with error message. | |
void | Error (string err) |
Messagebox with error message. | |
proto void | Print (void var) |
Prints content of variable to console/log. | |
proto void | PrintToRPT (void var) |
Prints content of variable to RPT file (performance warning - each write means fflush! use with care) | |
proto void | PrintFormat (string fmt, void param1=NULL, void param2=NULL, void param3=NULL, void param4=NULL, void param5=NULL, void param6=NULL, void param7=NULL, void param8=NULL, void param9=NULL) |
Prints formated text to console/log. | |
proto native void | GetMatrix (out vector mat[4]) |
proto native void | SetMatrix (vector mat[4]) |
proto native void | SetDirection (vector direction) |
proto native void | SetPosition (vector position) |
Set the world position of the Effect. | |
proto native void | SetColor (int color) |
proto native void | SetFlags (ShapeFlags flags) |
proto native void | Destroy () |
Cleans up the Effect, including unregistering if needed. | |
static proto native Shape | Create (ShapeType type, int color, ShapeFlags flags, vector p1, vector p2) |
static proto native Shape | CreateLines (int color, ShapeFlags flags, vector p[], int num) |
static proto native Shape | CreateTris (int color, ShapeFlags flags, vector p[], int num) |
static proto native Shape | CreateSphere (int color, ShapeFlags flags, vector origin, float radius) |
static proto native Shape | CreateFrustum (float horizontalAngle, float verticalAngle, float length, int color, ShapeFlags flags) |
static proto native Shape | CreateCylinder (int color, ShapeFlags flags, vector origin, float radius, float length) |
static Shape | CreateArrow (vector from, vector to, float size, int color, ShapeFlags flags) |
static Shape | CreateBridgeArrow (vector from, vector to, float size, int color, ShapeFlags flags) |
static void | CreateMatrix (vector mat[4]) |
Переменные | |
INFO | |
WARNING | |
ERROR | |
enum ShapeType | ErrorEx |
FIRSTCONTACT | |
NEARESTCONTACT ONLYSTATIC ONLYDYNAMIC ONLYWATER | ALLOBJECTS |
class DiagMenu | Shape () |
don't call destructor directly. Use Destroy() instead | |