debug
The debug namespace gives access to debug & diagnostics helper functions.
Diagnostics
Return type |
Description |
|
|
|
|
|
|
|
|
These can be useful to emit diagnostics inside templates. Each have a node equivalent.
A couple of core-library templates use these to emit warnings when incorrect combinations of properties are used (for example, the event multiplier node)
Draw helpers
Return type |
Description |
|
|
|
Removed in shipping builds. |
|
|
Note: The debug.draw* functions will only appear in-editor if the debug information button is activated in the editor viewport’s toolbar:
