Table of Contents

Class Bounds

Namespace
Bonsai.Shaders
Assembly
Bonsai.Shaders.dll

Represents an axis-aligned bounding box for mesh vertices.

public class Bounds
Inheritance
Bounds
Inherited Members

Constructors

Bounds(Vector3, Vector3)

Initializes a new instance of the Bounds class using the specified bounding-box center and dimensions.

Fields

Empty

Represents a Bounds instance with empty extents.

Properties

Center

Gets the center of the axis-aligned bounding box.

Extents

Gets the dimensions of the axis-aligned bounding box, measured from the center to the extremities.

Maximum

Gets the maximum point of the axis-aligned bounding box.

Minimum

Gets the minimum point of the axis-aligned bounding box.

Size

Gets the full size of the axis-aligned bounding box across all three dimensions.

Methods

ToString()

Returns a string that represents the current object.