Method GetViewSpaceBoundingBox
GetViewSpaceBoundingBox(Matrix4x4, bool)
The axis-aligned bounding box of the group, in a specific reference frame
Declaration
Bounds GetViewSpaceBoundingBox(Matrix4x4 observer, bool includeBehind)
Parameters
Type | Name | Description |
---|---|---|
Matrix4x4 | observer | The frame of reference in which to compute the bounding box |
bool | includeBehind | If true, members behind the observer (negative z) will be included |
Returns
Type | Description |
---|---|
Bounds | The axis-aligned bounding box of the group, in the desired frame of reference |