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