class DebugOverlaySystem : GameObjectSystem<T>

book_4_sparkGenerated
code_blocksInput

Description

The DebugOverlaySystem class in the Sandbox namespace provides methods to draw various debug overlays in the game world. This includes drawing boxes, lines, text, and models, which can be useful for debugging and visualization purposes.

Members

Instance Methods

Member Name Summary
Box Draw a box in the world using position, size, and color.
Box Draw a box in the world using a bounding box and color.
GameObject Draw a GameObject in the world with specified color and material override.
Normal Draw a line in the world from a position in a specified direction.
Line Draw a line in the world using a line object and color.
Line Draw a line in the world between two points.
Line Draw a line in the world using a collection of points.
Model Draw a model in the world with specified color and material override.
Sphere Draw a sphere in the world with specified color.
Text Draw text in the world at a specified position.
Text Draw text in the world using a text rendering scope.
ScreenText Draw text on the screen at a specified pixel position.
ScreenText Draw text on the screen using a text rendering scope.