Dota 2 Workshop Tools/Scripting/API/CDebugOverlayScriptHelper.Box: Difference between revisions
< Dota 2 Workshop Tools | Scripting | API
Jump to navigation
Jump to search
Charlysotelo (talk | contribs) m (→Parameters) |
Charlysotelo (talk | contribs) |
||
Line 6: | Line 6: | ||
''' void Box(Vector '' | ''' void Box(Vector ''min'', Vector ''max'', int ''r'', int ''g'', int ''b'', int ''a'', bool ''ztest'', float ''duration'') ''' | ||
''Draws a world-space axis-aligned box. Specify bounds in world space.'' | ''Draws a world-space axis-aligned box. Specify bounds in world space.'' | ||
== Parameters == | == Parameters == |
Revision as of 19:49, 28 July 2016

Function Description
void Box(Vector min, Vector max, int r, int g, int b, int a, bool ztest, float duration)
Draws a world-space axis-aligned box. Specify bounds in world space.
Parameters
Type | Name | Description |
---|---|---|
Vector | min | World-space position of one of the corners of the box |
Vector | max | World-space position of one of the corners of the box |
int | r | Color channel (0-255) |
int | g | Color channel (0-255) |
int | b | Color channel (0-255) |
int | a | Alpha channel (0-255) |
bool | ztest | No Description Set |
float | duration | In seconds |