OnRender2D: Difference between revisions

From GTA Connected
Jump to navigation Jump to search
m (Mex moved page Client/Events/OnRender2D to OnRender2D)
 
No edit summary
 
Line 1: Line 1:
{{ScriptItem
{{ScriptItem2
|endpoint = client
|name = onRender2D
|side = client
|type = event
|type = event
|name = onRender2D
|games = iii vc sa iv
|usage = 2D items are drawn, before they are drawn
|desc = 2D items are drawn, before they are drawn
|callbackParameters = Event event
|cancel = false
|cancellable = false
}}
}}

Latest revision as of 20:28, 19 November 2022

Event Client Only icon-iii.png icon-vc.png icon-sa.png icon-iv.png Online and Offline Not Cancellable

Available since Client 1.0.0

onRender2D(Event event)

The onRender2D event is invoked when 2D items are drawn, before they are drawn.

Parameters

void This event doesn't take any parameters.

Attributes

const This event cannot be cancelled.

Notes

There aren't any notes for this event.

Examples

There aren't any examples for this event.

Compatibility

There isn't any compatibility information for this event.

Related

Client Related

icon-iii.png icon-vc.png icon-sa.png icon-iv.png OnPostRender2D
icon-iii.png icon-vc.png icon-sa.png icon-iv.png OnPreRender
icon-iii.png icon-vc.png icon-sa.png icon-iv.png OnRender
icon-iii.png icon-vc.png icon-sa.png icon-iv.png OnRender2D
icon-iii.png icon-vc.png icon-sa.png OnRenderEffects