Navigation
API > API/Runtime > API/Runtime/Engine
Statically register a custom show flag to control rendering - use TCustomShowFlag::IsEnabled to get current state for a given view.
| Name | TCustomShowFlag |
| Type | struct |
| Header File | /Engine/Source/Runtime/Engine/Public/ShowFlags.h |
| Include Path | #include "ShowFlags.h" |
Syntax
template<EShowFlagShippingValue ShippingValue>
struct TCustomShowFlag
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
TCustomShowFlag
(
const TCHAR* Name, |
ShowFlags.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| FlagIndex | FEngineShowFlags::ECustomShowFlag | ShowFlags.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool IsEnabled
(
const FEngineShowFlags& ShowFlags |
ShowFlags.h | ||
bool SetEnabled
(
FEngineShowFlags& ShowFlags, |
ShowFlags.h |