TCustomShowFlag

Statically register a custom show flag to control rendering - use [TCustomShowFlag::IsEnabled](API\Runtime\Engine\TCustomShowFlag\IsEnabled) to get current state for a given view.

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Public/ShowFlags.h

Include

#include "ShowFlags.h"

Syntax

template<EShowFlagShippingValue ShippingValue>
struct TCustomShowFlag

Remarks

Statically register a custom show flag to control rendering - use TCustomShowFlag::IsEnabled to get current state for a given view.

Constructors

Name Description

Public function

TCustomShowFlag

(
    const TCHAR* Name,
    bool DefaultEnabled,
    EShowFlagGroup Group,
    FText DisplayName
)

Functions

Name Description

Public function

bool

 

IsEnabled

(
    const FEngineShowFlags& ShowFlags
)

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