Dota 2 Workshop Tools/Scripting/API/CDebugOverlayScriptHelper.Box: Difference between revisions
< Dota 2 Workshop Tools | Scripting | API
Jump to navigation
Jump to search
RoyAwesome (talk | contribs) (Dota_Lebot push: Updated Page) |
Charlysotelo (talk | contribs) m (→Parameters) |
||
Line 19: | Line 19: | ||
|- | |- | ||
| Vector | | Vector | ||
| | | min | ||
| | | World-space position of one of the corners of the box | ||
|- | |- | ||
| Vector | | Vector | ||
| | | max | ||
| | | World-space position of one of the corners of the box | ||
|- | |- | ||
| int | | int | ||
| | | r | ||
| | | Color channel (0-255) | ||
|- | |- | ||
| int | | int | ||
| | | g | ||
| | | Color channel (0-255) | ||
|- | |- | ||
| int | | int | ||
| | | b | ||
| | | Color channel (0-255) | ||
|- | |- | ||
| int | | int | ||
| | | a | ||
| | | Alpha channel (0-255) | ||
|- | |- | ||
| bool | | bool | ||
| | | ztest | ||
| No Description Set | | No Description Set | ||
|- | |- | ||
| float | | float | ||
| | | duration | ||
| | | In seconds | ||
|} | |} |
Revision as of 19:48, 28 July 2016

Function Description
void Box(Vector Vector_1, Vector Vector_2, int int_3, int int_4, int int_5, int int_6, bool bool_7, float float_8)
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 |