[This is preliminary documentation and is subject to change.]

The BoundingBox type exposes the following properties.

Properties

 Public

 Protected
 Instance

 Static
 Declared

 Inherited
 XNA Framework Only

 .NET Compact Framework Only

 MemberDescription
Dimensions
Gets a vector of the box's dimensions: (width,length,height) - that's (x,y,z). Guaranteed to be non-zero in every direction.
Height
Width of the bounding box (ZMax - ZMin + 1). Notch's Y. Inclusive, and always at least 1.
Length
Width of the bounding box (YMax - YMin + 1). Notch's Z. Inclusive, and always at least 1.
MaxVertex
Gets or sets the vertex farthest from the origin, opposite MinVertex. When setting, MaxVertex may be adjusted as well, to keep minimums/maximums consistent.
MinVertex
Gets or sets the vertex closest to the coordinate origin, opposite MaxVertex. When setting, MaxVertex may be adjusted as well, to keep minimums/maximums consistent.
Volume
Returns volume of this bounding box. Guaranteed to be at least 1.
Width
Width of the bounding box (XMax - XMin + 1). Inclusive, and always at least 1.

See Also