Dota 2 Workshop Tools/Scripting/API/CDebugOverlayScriptHelper.Box: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (clean up, added deadend tag)
 
Line 1: Line 1:
{{Dead end|date=January 2024}}
{{Note | This page is automatically generated.  Any changes may be overwritten}}
{{Note | This page is automatically generated.  Any changes may be overwritten}}
[[Category:Dota2Function]]
[[Category:CDebugOverlayScriptHelper]]


== Function Description ==
== Function Description ==


''' void Box(Vector ''min'', Vector ''max'', int ''r'', int ''g'', int ''b'', int ''a'', bool ''ztest'', float ''duration'') '''
''' void Box(Vector ''min'', Vector ''max'', int ''r'', int ''g'', int ''b'', int ''a'', bool ''ztest'', float ''duration'') '''
Line 48: Line 47:
| In seconds
| In seconds
|}
|}
[[Category:Dota2Function]]
[[Category:CDebugOverlayScriptHelper]]

Latest revision as of 09:36, 21 January 2024

Dead End - Icon.png
This article has no Wikipedia icon links to other VDC articles. Please help improve this article by adding links Wikipedia icon that are relevant to the context within the existing text.
January 2024
Note.pngNote: This page is automatically generated. Any changes may be overwritten

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