Module |
|
Header |
/Engine/Source/Editor/UnrealEd/Public/EditorViewportClient.h |
Include |
#include "EditorViewportClient.h" |
Source |
/Engine/Source/Editor/UnrealEd/Private/EditorViewportClient.cpp |
void EnableOverrideEngineShowFlags
(
TUniqueFunction< void &)> OverrideFunc
)
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.
Parameter |
Description |
---|---|
OverrideFunc |
custom override function that will be called every frame until override is disabled. |