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.

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback