Navigation
Unreal Engine C++ API Reference > Plugins > CommonUI
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- USubsystem
- ULocalPlayerSubsystem
- UCommonUIVisibilitySubsystem
References
Module | CommonUI |
Header | /Engine/Plugins/Runtime/CommonUI/Source/CommonUI/Public/CommonUIVisibilitySubsystem.h |
Include | #include "CommonUIVisibilitySubsystem.h" |
Syntax
UCLASS&40;DisplayName&61;"UI Visibility Subsystem"&41;
class UCommonUIVisibilitySubsystem : public ULocalPlayerSubsystem
Variables
Type | Name | Description | |
---|---|---|---|
![]() |
FHardwareVisibilityTagsChangedEvent | OnVisibilityTagsChanged |
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
Functions
Type | Name | Description | |
---|---|---|---|
![]() |
void | AddUserVisibilityCondition
(
const FGameplayTag UserTag |
|
![]() ![]() |
FGameplayTagContainer | ||
![]() ![]() |
UCommonUIVisibilitySubsystem * | Get
(
const ULocalPlayer* LocalPlayer |
|
![]() ![]() |
UCommonUIVisibilitySubsystem * | GetChecked
(
const ULocalPlayer* LocalPlayer |
|
![]() ![]() |
const FGameplayTagContainer & | Get the visibility tags currently in play (the combination of platform traits and current input tags). | |
![]() ![]() |
bool | HasVisibilityTag
(
const FGameplayTag VisibilityTag |
Returns true if the player currently has the specified visibility tag (note: this value should not be cached without listening for OnVisibilityTagsChanged as it can change at runtime) |
![]() |
void | OnInputMethodChanged
(
ECommonInputType CurrentInputType |
|
![]() |
void | ||
![]() |
void | RemoveUserVisibilityCondition
(
const FGameplayTag UserTag |
|
![]() ![]() |
void | SetDebugVisibilityConditions
(
const FGameplayTagContainer& TagsToEnable, |
Overridden from USubsystem
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
void | Deinitialize () |
Implement this for deinitialization of instances of the system |
![]() ![]() |
void | Initialize
(
FSubsystemCollectionBase& Collection |
Implement this for initialization of instances of the system |
![]() ![]() ![]() |
bool | ShouldCreateSubsystem
(
UObject* Outer |
Override to control if the Subsystem should be created at all. |
Classes
Type | Name | Description | |
---|---|---|---|
![]() |
FHardwareVisibilityTagsChangedEvent |
Constants
Name | Description |
---|---|
DebugTagsToEnable | |
DebugTagsToSuppress |