Garry's Mod Wiki

Garry's Mod Wiki

  Panel:NoClipping( boolean disableClipping )

Description

Sets whether this panel's drawings should be clipped within the parent panel's bounds.

See render.SetScissorRect if you wish to set the clipping rect instead.

This only disabled clipping for the Paint Related functions (as far as i can tell at the current moment, more testing should be done) so things like the text of a DLabel will still be clipped to the parent.

To fully disable the clipping of any children see DisableClipping.

Arguments

1 boolean disableClipping
Whether to disable clipping or not. true to disable clipping, false to enable clipping.

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 four times a day. Edits and history are not available.

Last Parsed: Loading...