Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/GetViewFrustumBounds
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Public/ConvexVolume.h |
| Include | #include "ConvexVolume.h" |
| Source | /Engine/Source/Runtime/Engine/Private/ConvexVolume.cpp |
void GetViewFrustumBounds
(
FConvexVolume & OutResult,
const FMatrix & ViewProjectionMatrix,
const FPlane & InFarPlane,
bool bOverrideFarPlane,
bool bUseNearPlane
)
Remarks
Creates a convex volume bounding the view frustum for a view-projection matrix, with an optional far plane override.
Parameters
| Name | Description |
|---|---|
| The | FConvexVolume which contains the view frustum bounds. |
| ViewProjectionMatrix | The view-projection matrix which defines the view frustum. |
| InFarPlane | Plane to use if bOverrideFarPlane is true. |
| bOverrideFarPlane | Whether to override the far plane. |
| bUseNearPlane | True if the convex volume should be bounded by the view frustum's near clipping plane. |