Garry's Mod Wiki

Revision Difference

render.DrawBox#512947

<function name="DrawBox" parent="render" type="libraryfunc">⤶ <description>⤶ Draws a box in 3D space.⤶ ⤶ <rendercontext hook="false" type="3D"/>⤶ </description>⤶ <realm>Client</realm>⤶ <args>⤶ <arg name="position" type="Vector">Origin of the box.</arg>⤶ <arg name="angles" type="Angle">Orientation of the box.</arg>⤶ <arg name="mins" type="Vector">Start position of the box, relative to origin.</arg>⤶ <arg name="maxs" type="Vector">End position of the box, relative to origin.</arg>⤶ <arg name="color" type="table" default="Color( 255, 255, 255 )">The color of the box. Uses the &lt;page&gt;Color&lt;/page&gt;.</arg>⤶ </args>⤶ </function>⤶ ⤶