DebugBounds (script event)

Game class

This event operates on an instance of the game class type {{{gameclass}}}

Description

Line drawing for debug visualization.

Usage

void debugBounds( vector color , vector mins , vector maxs , float lifetime )

Parameters

  • [color] - The color to draw the line.
  • [mins] - The minimum point for the bounding box.
  • [maxs] - The maximum point for the bounding box.
  • [lifetime] - The duration to display the line.

Examples

 
sys.debugBounds('1 0 0', '25 49 56', '54 88 79', 1);

Notes

This script event does not return any values.

Lifetime of 0 == 1 frame.