UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
ConvexVolume.h File Reference
#include "CoreMinimal.h"

Go to the source code of this file.

Classes

struct  FOutcode
 
struct  FConvexVolume
 

Functions

ENGINE_API void GetViewFrustumBounds (FConvexVolume &OutResult, const FMatrix &ViewProjectionMatrix, bool bUseNearPlane)
 
ENGINE_API void GetViewFrustumBounds (FConvexVolume &OutResult, const FMatrix &ViewProjectionMatrix, bool bUseNearPlane, bool bUseFarPlane)
 
ENGINE_API void GetViewFrustumBounds (FConvexVolume &OutResult, const FMatrix &ViewProjectionMatrix, const FPlane &InFarPlane, bool bOverrideFarPlane, bool bUseNearPlane)
 

Function Documentation

◆ GetViewFrustumBounds() [1/3]

ENGINE_API void GetViewFrustumBounds ( FConvexVolume OutResult,
const FMatrix ViewProjectionMatrix,
bool  bUseNearPlane 
)
extern

Creates a convex volume bounding the view frustum for a view-projection matrix.

Parameters
[out]TheFConvexVolume which contains the view frustum bounds.
ViewProjectionMatrix- The view-projection matrix which defines the view frustum.
bUseNearPlane- True if the convex volume should be bounded by the view frustum's near clipping plane.

◆ GetViewFrustumBounds() [2/3]

ENGINE_API void GetViewFrustumBounds ( FConvexVolume OutResult,
const FMatrix ViewProjectionMatrix,
bool  bUseNearPlane,
bool  bUseFarPlane 
)
extern

Creates a convex volume bounding the view frustum for a view-projection matrix.

Parameters
[out]TheFConvexVolume which contains the view frustum bounds.
ViewProjectionMatrix- The view-projection matrix which defines the view frustum.
bUseNearPlane- True if the convex volume should be bounded by the view frustum's near clipping plane.
bUseNearPlane- True if the convex volume should be bounded by the view frustum's far clipping plane.

◆ GetViewFrustumBounds() [3/3]

ENGINE_API void GetViewFrustumBounds ( FConvexVolume OutResult,
const FMatrix ViewProjectionMatrix,
const FPlane InFarPlane,
bool  bOverrideFarPlane,
bool  bUseNearPlane 
)
extern

Creates a convex volume bounding the view frustum for a view-projection matrix, with an optional far plane override.

Parameters
[out]TheFConvexVolume 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.