Garry's Mod Wiki

Revision Difference

surface.DisableClipping#523653

<function name="DisableClipping" parent="surface" type="libraryfunc"> <description> Enables or disables the clipping used by the VGUI that limits the drawing operations to a panels bounds.⤶ See also <page>Global.DisableClipping</page> and <page>Panel:NoClipping</page>. <deprecated><br>Alias of <page>Global.DisableClipping</page> so use that instead.</deprecated>⤶ ⤶ Enables or disables the clipping used by the VGUI that limits the drawing operations to a panels bounds. ⤶ Identical to <page>Global.DisableClipping</page>. See also <page>Panel:NoClipping</page>.⤶ </description> <realm>Client and Menu</realm> <args> <arg name="disable" type="boolean">True to disable, false to enable the clipping</arg> </args> </function>