⚠️ This site is under development, some artefacts may be missing or incomplete.
UI3D2D
StartDraw

StartDraw

boolean ui3d2d.startDraw( Vector position, Angle angles, number scale, Entity ignoredEntity = nil )

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.