CToolUIDebug
Overview
Debug drawing utilities. Falls back to the Coordinator singleton if no valid actor is provided.
Functions
| Name | Description |
|---|---|
| drawDebugRectangle | Draw a debug box. |
| drawDebugArrow | Draw a debug directional arrow. |
| drawDebugPoint | Draw a debug point. |
| drawDebugText | Draw debug text in world. Limited by r.DebugSafeZone.MaxDebugTextStringsPerActor (set to 0 for unlimited). |
| cleanDebug | Flush all debug strings and persistent debug lines. |
drawDebugRectangle(myActor, center, FVector(50, 50, 50), FColor::Red, 5.0f, 2.0f);
drawDebugArrow(myActor, start, end, FColor::Green, -1, 10.0f);
drawDebugPoint(myActor, position, FColor::Blue, 20.0f, 5.0f);
drawDebugText(myActor, location, "Hello", FColor::Yellow, 10.0f);
cleanDebug(myActor);