StartDraw
Description
⚠️
EndDraw() must be called after the UI has been drawn.
Starts a UI3D2D rendering context in immediate mode. Calling this will also determine the user's input status for the current frame.
Arguments
Vector position
The position to draw the UI at.
Angle angles
The angle which the UI should face.
number scale
The UI scale factor.
Entity ignoredEntity = nil
The entity to ignore when calculating the cursor's position.
Returns
boolean
True when the UI should be rendered.