Garry's Mod Wiki

Revision Difference

render.DrawBox#524631

<function name="DrawBox" parent="render" type="libraryfunc"> <description> Draws a box in 3D space. <rendercontext hook="false" type="3D"/>⤶ <rendercontext hook="false" type="3D"></rendercontext>⤶ </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 <page>Color</page>.</arg> </args> </function>