Box3 Type
Defines an axis-aligned 3D box (cube). Copied from - https://github.com/opentk/opentk/blob/opentk5.0/src/OpenTK.Mathematics/Geometry/Box3.cs Heavily modified by BGE to more closely conform to System.Numerics and use a size-preserving representation ([min, size] instead of [min, max]).
Constructors
Constructor | Description |
|
|
Full Usage:
Box3(minX, minY, minZ, sizeX, sizeY, sizeZ)
Parameters:
float32
minY : float32
minZ : float32
sizeX : float32
sizeY : float32
sizeZ : float32
|
|
Instance members
Instance member | Description |
|
|
|
|
Full Usage:
this.Contains
Parameters: Returns: ContainmentType
A value indicating if this Box3 contains,
intersects with or is disjoint with box.
|
|
Full Usage:
this.Contains
Parameters:
byref<Box3>
-
The Box3 to test for overlap.
result : byref<ContainmentType>
-
A value indicating if this Box3 contains,
intersects with or is disjoint with box.
|
|
Full Usage:
this.Contains
Parameters: Returns: ContainmentType
A value indicating if this Box3 contains,
intersects with or is disjoint with sphere.
|
|
Full Usage:
this.Contains
Parameters:
byref<Sphere>
-
The Sphere to test for overlap.
result : byref<ContainmentType>
-
A value indicating if this Box3 contains,
intersects with or is disjoint with sphere.
|
|
Full Usage:
this.Contains
Parameters: Returns: ContainmentType
ContainmentType.Contains if this Box3 contains
point or ContainmentType.Disjoint if it does not.
|
|
Full Usage:
this.Contains
Parameters:
byref<Vector3>
-
The Vector3 to test.
result : byref<ContainmentType>
-
ContainmentType.Contains if this Box3 contains
point or ContainmentType.Disjoint if it does not.
|
|
Full Usage:
this.ContainsExclusive
Parameters: Returns: ContainmentType
A value indicating if this Box3 contains,
intersects with or is disjoint with box.
|
|
Full Usage:
this.ContainsExclusive
Parameters:
byref<Box3>
-
The Box3 to test for overlap.
result : byref<ContainmentType>
-
A value indicating if this Box3 contains,
intersects with or is disjoint with box.
|
|
|
|
Full Usage:
this.Equals
Parameters:
obj
Returns: bool
Modifiers: abstract |
|
|
|
|
|
Full Usage:
this.GetHashCode
Returns: int
Modifiers: abstract |
|
|
|
|
|
|
|
|
|
|
|
|
|
Full Usage:
this.Intersects
Parameters: Returns: PlaneIntersectionType
if this Box3 intersects plane,
if it does not.
|
|
Full Usage:
this.Intersects
Parameters:
inref<Plane3>
-
The Plane3 to test for intersection.
result : byref<PlaneIntersectionType>
-
if this Box3 intersects plane,
if it does not.
|
|
|
|
Full Usage:
this.ToString
Returns: string
Modifiers: abstract |
|
Static members
Static member | Description |
|
|
|
|
|
|
|