DrawFrustumWireframe

Draws a wireframe of the bounds of a frustum as defined by a transform from clip-space into world-space.

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Public/SceneManagement.h

Include

#include "SceneManagement.h"

Source

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

Syntax

void DrawFrustumWireframe
(
    FPrimitiveDrawInterface * PDI,
    const FMatrix & WorldToFrustum,
    FColor Color,
    uint8 DepthPriority
)

Remarks

Draws a wireframe of the bounds of a frustum as defined by a transform from clip-space into world-space.

Parameters

Parameter

Description

PDI

The interface to draw the wireframe.

FrustumToWorld

A transform from clip-space to world-space that defines the frustum.

Color

The color to draw the wireframe with.

DepthPriority

The depth priority group to draw the wireframe with.

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