Enfusion Script API
|
Modules | |
Diag menu API definition | |
Classes | |
interface | DbgUI |
Immediate mode debug UI API. More... | |
interface | Debug |
interface | DebugText |
Used for creating on screen texts in world. More... | |
interface | DebugTextScreenSpace |
interface | DebugTextWorldSpace |
interface | DiagMenu |
Check EDiagMenu enum for 'id' values. More... | |
interface | Shape |
Instance of created debug visualizer. More... | |
Functions | |
proto void | Print (void var, LogLevel level=LogLevel.NORMAL) |
Prints content of variable to console/log. | |
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, LogLevel level=LogLevel.NORMAL) |
Prints formated text to console/log. | |
enum DebugTextFlags |
enum LogLevel |
enum ShapeFlags |
enum ShapeType |
Enumerator | |
---|---|
NONE | When Shape is created and not initialized yet. |
BBOX | Just box. |
LINE | One lines. |
BRUSH | Not implemented. |
PIVOT | 3D orientation visualizer |
POINT | Not implemented. |
MESH | Triangle mesh. Just triangle list, no tri-fan/tri-strip. |
POLYGON | Polygon. |
INDEXEDMESH | Triangle mesh. Just triangle list, no tri-fan/tri-strip. |
SPHERE | Sphere represented by triangle mesh. |
CYLINDER | Cylinder represented by triangle mesh. |
DIAMOND | Eight faced pyramid. Defined by bound-box, where middle part is equal to horizontal extents of box and top/bottom apogees lies on top/bottom side of box. |
PYRAMID | Four sided pyramid. Defined by bound-box, where base is equal to bottom side of box. |
ARROW | Arrow pointing down. |
LINE_LIST | List of multiple lines. |
LINE_STRIP | Multiple lines in a single winding. |
proto void Print | ( | void | var, |
LogLevel | level = LogLevel.NORMAL |
||
) |
Prints content of variable to console/log.
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 , |
||
LogLevel | level = LogLevel.NORMAL |
||
) |
Prints formated text to console/log.