Garry's Mod Wiki

Revision Difference

widgets.RenderMe#512205

<function name="RenderMe" parent="widgets" type="libraryfunc">⤶ <description>Renders a widget. Normally you won't need to call this.</description>⤶ <realm>Client</realm>⤶ <args>⤶ <arg name="ent" type="Entity">Widget entity to render</arg>⤶ </args>⤶ </function>⤶ ⤶ <example>⤶ <description>Example usage in **lua/entities/widget_base.lua**</description>⤶ <code>⤶ function ENT:Draw()⤶ ⤶ widgets.RenderMe( self )⤶ ⤶ end⤶ </code>⤶ ⤶ </example>