void DebugText()
Instantiate using the Create method in derived classes.
proto external vector GetPosition()
proto void GetTransform(out vector mat[4])
Returns the transformation matrix of the text. Useful only for texts created with CreateInWorld().
static proto DebugTextWorldSpace Create(string text, DebugTextFlags flags, float x, float y, float z, float size=20.0, int color=0xFFFFFFFF, int bgColor=0x00000000, int priority=1000)
Creates a text instance.
proto external void SetTransform(vector mat[4])
Sets the transformation matrix of the text. Useful only for texts created with CreateInWorld().
static proto DebugTextWorldSpace CreateInWorld(string text, DebugTextFlags flags, vector transform[4], float size=20.0, int color=0xFFFFFFFF, int bgColor=0x00000000, int priority=1000)
The text is placed in world and is occluded by other objects.
proto external void SetPosition(float x, float y, float z)
void ~DebugTextWorldSpace()
void DebugTextWorldSpace()