Garry's Mod Wiki

Garry's Mod Wiki

Description

This table is returned by surface.GetPanelPaintState.

Members

number translate_x
The X coordinate for the top-left corner of the Panel currently being drawn.
number translate_y
The Y coordinate for the top-left corner of the Panel currently being drawn.
number scissor_left
The X coordinate for the left edge of the ScissorRect that surrounds the Panel that is currently being drawn.
number scissor_top
The Y coordinate for the top edge of the ScissorRect that surrounds the Panel that is currently being drawn.
number scissor_right
The X coordinate for the right edge of the ScissorRect that surrounds the Panel that is currently being drawn.
number scissor_bottom
The Y coordinate for the bottom edge of the ScissorRect that surrounds the Panel that is currently being drawn.
boolean scissor_enabled
Whether or not the Panel currently being drawn has render.SetScissorRect active.

This site is a community mirror of the official Garry's Mod wiki.. This site is not maintained by Facepunch Studios.

Page content is automatically updated twice a day. Edits and history are not available.

Last Parsed: Loading...