BoundingFrustum Struct
Namespace: Stride.Core.MathematicsAssembly: Stride.Core.Mathematics.dll
A bounding frustum.
public struct BoundingFrustum
Name | Description | |
---|---|---|
Constructors | ||
BoundingFrustum(ref Matrix) | Initializes a new instance of the BoundingFrustum struct from a matrix view-projection. |
|
Fields | ||
BottomPlane | The bottom plane of this frustum. |
|
FarPlane | The far plane of this frustum. |
|
LeftPlane | The left plane of this frustum. |
|
NearPlane | The near plane of this frustum. |
|
RightPlane | The right plane of this frustum. |
|
TopPlane | The top plane of this frustum. |
|
Methods | ||
Contains(ref BoundingBoxExt) | Check whether this frustum contains the specified BoundingBoxExt. |
Constructors
BoundingFrustum(ref Matrix)
Initializes a new instance of the BoundingFrustum struct from a matrix view-projection.
public BoundingFrustum(ref Matrix matrix)
Parameters
Type | Name | Description |
---|---|---|
Matrix | matrix | The matrix view projection. |
Fields
BottomPlane
The bottom plane of this frustum.
public Plane BottomPlane
Field Value
Type | Description |
---|---|
Plane |
FarPlane
The far plane of this frustum.
public Plane FarPlane
Field Value
Type | Description |
---|---|
Plane |
LeftPlane
The left plane of this frustum.
public Plane LeftPlane
Field Value
Type | Description |
---|---|
Plane |
NearPlane
The near plane of this frustum.
public Plane NearPlane
Field Value
Type | Description |
---|---|
Plane |
RightPlane
The right plane of this frustum.
public Plane RightPlane
Field Value
Type | Description |
---|---|
Plane |
TopPlane
The top plane of this frustum.
public Plane TopPlane
Field Value
Type | Description |
---|---|
Plane |
Methods
Contains(ref BoundingBoxExt)
Check whether this frustum contains the specified BoundingBoxExt.
public bool Contains(ref BoundingBoxExt boundingBoxExt)
Parameters
Type | Name | Description |
---|---|---|
BoundingBoxExt | boundingBoxExt | The bounding box. |
Returns
Type | Description |
---|---|
System.Boolean |
|