|
Nebula
|
Inherits IEquatable.
Public Member Functions | |
| 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. | |
Static Public Member Functions | |
| static BoundingBox | CreateFromPoints (IEnumerable< Vector3 > points) |
| Create a bounding box from the given list of points. | |
| static BoundingBox | CreateFromSphere (BoundingSphere sphere) |
| static void | CreateFromSphere (ref BoundingSphere sphere, out BoundingBox result) |
| static BoundingBox | CreateMerged (BoundingBox original, BoundingBox additional) |
| static void | CreateMerged (ref BoundingBox original, ref BoundingBox additional, out BoundingBox result) |
| static bool | operator== (BoundingBox a, BoundingBox b) |
| static bool | operator!= (BoundingBox a, BoundingBox b) |
Public Attributes | |
| Vector3 | Min |
| Vector3 | Max |
Static Public Attributes | |
| const int | CornerCount = 8 |
Properties | |
| string | DebugDisplayString [get] |
Static Private Attributes | |
| static readonly Vector3 | MaxVector3 = new Vector3(float.MaxValue) |
| static readonly Vector3 | MinVector3 = new Vector3(float.MinValue) |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlinestatic |
Create a bounding box from the given list of points.
| points | The list of Vector3 instances defining the point cloud to bound |
| System.ArgumentException | Thrown if the given list has no points. |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
Deconstruction method for BoundingBox.
| min | |
| max |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlinestatic |
|
inlinestatic |
|
inline |
|
static |
| Vector3 Mathf.BoundingBox.Max |
| Vector3 Mathf.BoundingBox.Min |
|
getpackage |