Garry's Mod Wiki

Revision Difference

debugoverlay.Axis#550984

<function name="Axis" parent="debugoverlay" type="libraryfunc"> <description> Displays an axis indicator at the specified position. <note>This function will silently fail if the **developer** <page>ConVar</page> is set to 0</note>⤶ <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="origin" type="Vector">Position origin</arg> <arg name="ang" type="Angle">Angle of the axis</arg> <arg name="size" type="number">Size of the axis</arg> <arg name="lifetime" type="number" default="1">Number of seconds to appear</arg> <arg name="ignoreZ" type="boolean" default="false">If true, will draw on top of everything; ignoring the Z buffer</arg> </args> </function>