debugoverlay.Cross

From GMod Wiki

Jump to: navigation, search
Function
Syntax debugoverlay.Cross( Vector origin, Float size, Float duration (Seconds) (Defaults to 1), Color color (Defaults to white), Boolean skipdepth (Defaults to false) )
Where is this used?
Description:
Creates a simple six point cross (often called an 'origin') in the 3D world space.
Returns: nil
Part of Library: debugoverlay
Realm: NewerShared.png
BBCode Link: [b][url=http://wiki.garrysmod.com/?title=Debugoverlay.Cross]Debugoverlay.Cross [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b]



Examples

DescriptionWill draw a yellow cross 50 units in radius centered around the origin for 10 seconds.
Used onNewerShared.png
Code
debugoverlay.Cross(Vector(0, 0, 0), 50, 10, Color(255, 255, 0))
OutputA yellow cross 50 units in radius centered around the origin for 10 seconds.


Additional Notes

See Also

Personal tools
Namespaces
Variants
Actions
Navigation
Lua Scripting
Functions
Hooks
Toolbox