S&box Wiki

BBox

Fields

Properties

Vector3 Center { get; }
Vector3 Size { get; }
float Volume { get; }

Methods

BBox AddPoint( Vector3 point )
Returns this bbox but stretched to include this point
static BBox FromHeightAndRadius( float height, float radius )
Creates a bbox of radius length and depth, and height height