Revision Difference
debugoverlay.BoxAngles#552558
<function name="BoxAngles" parent="debugoverlay" type="libraryfunc">
<description>
Displays a solid colored rotated box at the specified position.
<note>This function will silently fail if the `developer` <page>ConVar</page> is set to `0`. It is not networked to clients, except for the <page text="listen server host">Player:IsListenServerHost</page>.</note>
</description>
<realm>Shared</realm>
<args>
<arg name="pos" type="Vector">World position</arg>
<arg name="mins" type="Vector">The mins of the box (lowest corner)</arg>
<arg name="maxs" type="Vector">The maxs of the box (highest corner)</arg>
<arg name="ang" type="Angle">The angle to draw the box at</arg>
<arg name="lifetime" type="number" default="1">Amount of seconds to show the box</arg>
<arg name="color" type="table" default="Color( 255, 255, 255 )">The color of the box. Uses the <page>Color</page></arg>
<arg name="color" type="table" default="Color( 255, 255, 255, 255 )">The color of the box. Uses the <page>Color</page></arg>
</args>
</function>