Cyber Engine Tweaks
Modding
Dictionary
Other
External docs
Other Wikis
Powered By GitBook
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:
1
dvs = Game.DebugVisualizerSystem()
Copied!

Sub-functions

ClearAll

ClearAll
Info & Usage
1
ClearAll();
Copied!

ClearLayer

ClearLayer
Info & Usage
1
ClearLayer(layerId : Uint32);
Copied!

DrawArrow

DrawArrow
Info & Usage
1
DrawArrow(start : Vector4, end : Vector4, optional color : Color, optional lifetime : Float) : Uint32;
Copied!

DrawLine

DrawLine
Info & Usage
1
DrawLine(start : Vector4, end : Vector4, optional color : Color, optional lifetime : Float) : Uint32;
Copied!

DrawLine3D

DrawLine3D
Info & Usage
1
DrawLine3D(start : Vector4, end : Vector4, optional color : Color, optional lifetime : Float) : Uint32;
Copied!

DrawRect

DrawRect
Info & Usage
1
DrawRect(position : Vector4, size : Vector4, optional color : Color, optional lifetime : Float) : Uint32;
Copied!

DrawText

DrawText
Info & Usage
1
DrawText(position : Vector4, text : String, optional textAlignment : gameDebugViewETextAlignment, optional color : Color, optional lifetime : Float) : Uint32;
Copied!

DrawText3D

DrawText3D
Info & Usage
1
DrawText3D(position : Vector4, text : String, optional color : Color, optional lifetime : Float) : Uint32;
Copied!

DrawWireBox

DrawWireBox
Info & Usage
1
DrawWireBox(boxMin : Vector4, boxMax : Vector4, optional color : Color, optional lifetime : Float) : Uint32;
Copied!

DrawWireSphere

DrawWireSphere
Info & Usage
1
DrawWireSphere(position : Vector4, radius : Float, optional color : Color, optional lifetime : Float) : Uint32;
Copied!

SetPosition

SetPosition
Info & Usage
1
SetPosition(layerId : Uint32, position : Vector4);
Copied!

SetScale

SetScale
Info & Usage
1
SetScale(layerId : Uint32, scale : Vector4);
Copied!
Last modified 9mo ago