Frustum Type
Defines a viewing frustum for intersection operations. Copied from - https://github.com/MonoGame/MonoGame/blob/v3.8/MonoGame.Framework/BoundingFrustum.cs
Constructors
Constructor | Description |
Full Usage:
Frustum(value)
Parameters:
Matrix4x4
-
Combined matrix which usually is (View * Projection).
|
Constructs the frustum by extracting the view planes from a matrix.
|
Instance members
Instance member | Description |
|
Gets the bottom plane of the frustum.
|
|
The axis-aligned bounding box enclosing the frustum.
|
Full Usage:
this.Contains
Parameters: Returns: ContainmentType
Result of testing for containment between this Frustum and specified Box3.
|
|
Full Usage:
this.Contains
Parameters:
inref<Box3>
-
A Box3 for testing.
result : byref<ContainmentType>
-
Result of testing for containment between this Frustum and specified Box3 as an output parameter.
|
|
Full Usage:
this.Contains
Parameters: Returns: ContainmentType
Result of testing for containment between this Frustum and specified Frustum.
|
|
Full Usage:
this.Contains
Parameters: Returns: ContainmentType
Result of testing for containment between this Frustum and specified Sphere.
|
|
Full Usage:
this.Contains
Parameters:
inref<Sphere>
-
A Sphere for testing.
result : byref<ContainmentType>
-
Result of testing for containment between this Frustum and specified Sphere as an output parameter.
|
|
Full Usage:
this.Contains
Parameters: Returns: ContainmentType
Result of testing for containment between this Frustum and specified Vector3.
|
|
Full Usage:
this.Contains
Parameters:
inref<Vector3>
-
A Vector3 for testing.
result : byref<ContainmentType>
-
Result of testing for containment between this Frustum and specified Vector3 as an output parameter.
|
|
|
Returns a copy of internal corners array.
|
|
|
Full Usage:
this.Equals
Parameters:
obj
-
The Object to compare.
Returns: bool
true if the instances are equal; false otherwise.
Modifiers: abstract |
|
Gets the far plane of the frustum.
|
|
Full Usage:
this.GetCorners
Parameters:
Vector3[]
-
The array which values will be replaced to corner values of this instance. It must have size of Frustum.CornerCount.
|
Returns a copy of internal corners array.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Full Usage:
this.Intersects
Parameters:
inref<Plane3>
-
A Plane3 for intersection test.
result : byref<PlaneIntersectionType>
-
A plane intersection type as an output parameter.
|
|
|
|
|
|
Gets the left plane of the frustum.
|
|
Full Usage:
this.Matrix
|
|
Gets the near plane of the frustum.
|
|
|
Gets the right plane of the frustum.
|
|
|
|
|
Gets the top plane of the frustum.
|
Static members
Static member | Description |