Inherits IEquatable.
|
| | BoundingBox (Vector3 min, Vector3 max) |
| |
| | BoundingBox (float minx, float miny, float minz, float maxx, float maxy, float maxz) |
| |
| ContainmentType | Contains (BoundingBox box) |
| |
| void | Contains (ref BoundingBox box, out ContainmentType result) |
| |
| ContainmentType | Contains (BoundingFrustum frustum) |
| |
| ContainmentType | Contains (BoundingSphere sphere) |
| |
| void | Contains (ref BoundingSphere sphere, out ContainmentType result) |
| |
| ContainmentType | Contains (Vector3 point) |
| |
| void | Contains (ref Vector3 point, out ContainmentType result) |
| |
| bool | Equals (BoundingBox other) |
| |
| override bool | Equals (object obj) |
| |
| Vector3[] | GetCorners () |
| |
| void | GetCorners (Vector3[] corners) |
| |
| override int | GetHashCode () |
| |
| bool | Intersects (BoundingBox box) |
| |
| void | Intersects (ref BoundingBox box, out bool result) |
| |
| bool | Intersects (BoundingFrustum frustum) |
| |
| bool | Intersects (BoundingSphere sphere) |
| |
| void | Intersects (ref BoundingSphere sphere, out bool result) |
| |
| PlaneIntersectionType | Intersects (Plane plane) |
| |
| void | Intersects (ref Plane plane, out PlaneIntersectionType result) |
| |
| Nullable< float > | Intersects (Ray ray) |
| |
| void | Intersects (ref Ray ray, out Nullable< float > result) |
| |
| override string | ToString () |
| |
| void | Deconstruct (out Vector3 min, out Vector3 max) |
| | Deconstruction method for BoundingBox.
|
| |
◆ BoundingBox() [1/2]
◆ BoundingBox() [2/2]
| Mathf.BoundingBox.BoundingBox |
( |
float | minx, |
|
|
float | miny, |
|
|
float | minz, |
|
|
float | maxx, |
|
|
float | maxy, |
|
|
float | maxz ) |
|
inline |
◆ Contains() [1/7]
◆ Contains() [2/7]
◆ Contains() [3/7]
◆ Contains() [4/7]
◆ Contains() [5/7]
◆ Contains() [6/7]
◆ Contains() [7/7]
◆ CreateFromPoints()
Create a bounding box from the given list of points.
- Parameters
-
| points | The list of Vector3 instances defining the point cloud to bound |
- Returns
- A bounding box that encapsulates the given point cloud.
- Exceptions
-
| System.ArgumentException | Thrown if the given list has no points. |
◆ CreateFromSphere() [1/2]
◆ CreateFromSphere() [2/2]
◆ CreateMerged() [1/2]
◆ CreateMerged() [2/2]
◆ Deconstruct()
| void Mathf.BoundingBox.Deconstruct |
( |
out Vector3 | min, |
|
|
out Vector3 | max ) |
|
inline |
◆ Equals() [1/2]
◆ Equals() [2/2]
| override bool Mathf.BoundingBox.Equals |
( |
object | obj | ) |
|
|
inline |
◆ GetCorners() [1/2]
| Vector3[] Mathf.BoundingBox.GetCorners |
( |
| ) |
|
|
inline |
◆ GetCorners() [2/2]
| void Mathf.BoundingBox.GetCorners |
( |
Vector3[] | corners | ) |
|
|
inline |
◆ GetHashCode()
| override int Mathf.BoundingBox.GetHashCode |
( |
| ) |
|
|
inline |
◆ Intersects() [1/9]
◆ Intersects() [2/9]
◆ Intersects() [3/9]
◆ Intersects() [4/9]
◆ Intersects() [5/9]
| Nullable< float > Mathf.BoundingBox.Intersects |
( |
Ray | ray | ) |
|
|
inline |
◆ Intersects() [6/9]
| void Mathf.BoundingBox.Intersects |
( |
ref BoundingBox | box, |
|
|
out bool | result ) |
|
inline |
◆ Intersects() [7/9]
| void Mathf.BoundingBox.Intersects |
( |
ref BoundingSphere | sphere, |
|
|
out bool | result ) |
|
inline |
◆ Intersects() [8/9]
◆ Intersects() [9/9]
| void Mathf.BoundingBox.Intersects |
( |
ref Ray | ray, |
|
|
out Nullable< float > | result ) |
|
inline |
◆ operator!=()
◆ operator==()
◆ ToString()
| override string Mathf.BoundingBox.ToString |
( |
| ) |
|
|
inline |
◆ CornerCount
| const int Mathf.BoundingBox.CornerCount = 8 |
|
static |
◆ Max
◆ MaxVector3
| readonly Vector3 Mathf.BoundingBox.MaxVector3 = new Vector3(float.MaxValue) |
|
staticprivate |
◆ Min
◆ MinVector3
| readonly Vector3 Mathf.BoundingBox.MinVector3 = new Vector3(float.MinValue) |
|
staticprivate |
◆ DebugDisplayString
| string Mathf.BoundingBox.DebugDisplayString |
|
getpackage |
The documentation for this struct was generated from the following file: