Appearance
types.ui_canvas
Utilities to interact with ui rendering
Functions
push_scissor_mask(x : number, y : number, w : number, h : number, callback : function)
Pushes a scissor mask to the stack and clips all subsequent rendering to the specified area.
- x (
number) The x position of the mask - y (
number) The y position of the mask - w (
number) The width of the mask - h (
number) The height of the mask - callback (
function) The function to execute while the mask is active
