DebugVisualizerSystem

Documents the DebugVisualizerSystemclass and its functions.

NOT DOCUMENTED We currently don't have information on how these functions work. They are being documented here for visibility.

Invoking DebugVisualizerSystem

To invoke the debug visualizer system, use the following Global function:

dvs = Game.DebugVisualizerSystem()

Sub-functions

ClearAll

ClearAll();

ClearLayer

ClearLayer(layerId : Uint32);

DrawArrow

DrawArrow(start : Vector4, end : Vector4, optional color : Color, optional lifetime : Float) : Uint32;

DrawLine

DrawLine(start : Vector4, end : Vector4, optional color : Color, optional lifetime : Float) : Uint32;

DrawLine3D

DrawLine3D(start : Vector4, end : Vector4, optional color : Color, optional lifetime : Float) : Uint32;

DrawRect

DrawRect(position : Vector4, size : Vector4, optional color : Color, optional lifetime : Float) : Uint32;

DrawText

DrawText(position : Vector4, text : String, optional textAlignment : gameDebugViewETextAlignment, optional color : Color, optional lifetime : Float) : Uint32;

DrawText3D

DrawText3D(position : Vector4, text : String, optional color : Color, optional lifetime : Float) : Uint32;

DrawWireBox

DrawWireBox(boxMin : Vector4, boxMax : Vector4, optional color : Color, optional lifetime : Float) : Uint32;

DrawWireSphere

DrawWireSphere(position : Vector4, radius : Float, optional color : Color, optional lifetime : Float) : Uint32;

SetPosition

SetPosition(layerId : Uint32, position : Vector4);

SetScale

SetScale(layerId : Uint32, scale : Vector4);

Last updated