Table of Contents

Constructor Bounds

Namespace
Bonsai.Shaders
Assembly
Bonsai.Shaders.dll

Bounds(Vector3, Vector3)

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

public Bounds(Vector3 center, Vector3 extents)

Parameters

center Vector3

The center of the axis-aligned bounding box.

extents Vector3

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