GetViewFrustumBounds

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

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Public/ConvexVolume.h

Include

#include "ConvexVolume.h"

Source

/Engine/Source/Runtime/Engine/Private/ConvexVolume.cpp

Syntax

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

Parameter

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.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss