Description
The EditorDraw
method is a public instance method of the Scene
class in the Sandbox framework. This method is responsible for handling the drawing operations that occur within the editor environment. It is typically used to render visual elements or debug information that are only relevant during the editing phase of game development.
Usage
To use the EditorDraw
method, you need to have an instance of the Scene
class. This method does not take any parameters and does not return any value. It is intended to be called during the editor's rendering cycle to draw editor-specific visuals.
Example
// Assuming 'scene' is an instance of Sandbox.Scene
scene.EditorDraw();
// This will execute the editor-specific drawing logic for the scene.