FEditorViewportClient::EnableOverrideEngineShowFlags

Enable customization of the EngineShowFlags for rendering.

Windows
MacOS
Linux

References

Module

UnrealEd

Header

/Engine/Source/Editor/UnrealEd/Public/EditorViewportClient.h

Include

#include "EditorViewportClient.h"

Source

/Engine/Source/Editor/UnrealEd/Private/EditorViewportClient.cpp

Syntax

void EnableOverrideEngineShowFlags
(
    TUniqueFunction< void &)> OverrideFunc
)

Remarks

Enable customization of the EngineShowFlags for rendering. After calling this function, the provided OverrideFunc will be passed a copy of .EngineShowFlags in ::Draw() just before rendering setup. Changes made to the ShowFlags will be used for that frame but .EngineShowFlags will not be modified.

Parameters

Parameter

Description

OverrideFunc

custom override function that will be called every frame until override is disabled.

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