Struct BoundingFrustum
- Namespace
- Stride.Core.Mathematics
- Assembly
- Stride.Core.Mathematics.dll
A bounding frustum.
public struct BoundingFrustum
- Inherited Members
Constructors
BoundingFrustum(ref readonly Matrix)
Initializes a new instance of the BoundingFrustum struct from a matrix view-projection.
public BoundingFrustum(ref readonly Matrix matrix)
Parameters
matrix
MatrixThe matrix view projection.
Fields
BottomPlane
The bottom plane of this frustum.
public Plane BottomPlane
Field Value
FarPlane
The far plane of this frustum.
public Plane FarPlane
Field Value
LeftPlane
The left plane of this frustum.
public Plane LeftPlane
Field Value
NearPlane
The near plane of this frustum.
public Plane NearPlane
Field Value
RightPlane
The right plane of this frustum.
public Plane RightPlane
Field Value
TopPlane
The top plane of this frustum.
public Plane TopPlane
Field Value
Methods
Contains(ref readonly BoundingBoxExt)
Check whether this frustum contains the specified BoundingBoxExt.
public bool Contains(ref readonly BoundingBoxExt boundingBoxExt)
Parameters
boundingBoxExt
BoundingBoxExtThe bounding box.
Returns
- bool
true
if this frustum contains the specified bounding box.