Navigation
API > API/Plugins > API/Plugins/CommonUI
Inheritance Hierarchy
- ULocalPlayerSubsystem
- UCommonUIVisibilitySubsystem
References
| Module | CommonUI |
| Header | /Engine/Plugins/Runtime/CommonUI/Source/CommonUI/Public/CommonUIVisibilitySubsystem.h |
| Include | #include "CommonUIVisibilitySubsystem.h" |
Syntax
UCLASS (DisplayName="UI Visibility Subsystem")
class UCommonUIVisibilitySubsystem : public ULocalPlayerSubsystem
Variables
| Type | Name | Description | |
|---|---|---|---|
| FHardwareVisibilityTagsChangedEvent | OnVisibilityTagsChanged |
Constructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | AddUserVisibilityCondition
(
const FGameplayTag UserTag |
||
| FGameplayTagContainer | |||
| void | Deinitialize () |
||
| 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 | Initialize
(
FSubsystemCollectionBase& Collection |
||
| void | OnInputMethodChanged
(
ECommonInputType CurrentInputType |
||
| void | |||
| void | RemoveUserVisibilityCondition
(
const FGameplayTag UserTag |
||
| void | SetDebugVisibilityConditions
(
const FGameplayTagContainer& TagsToEnable, |
||
| bool | ShouldCreateSubsystem
(
UObject* Outer |
Classes
| Type | Name | Description | |
|---|---|---|---|
| FHardwareVisibilityTagsChangedEvent |
Constants
| Name | Description |
|---|---|
| DebugTagsToEnable | |
| DebugTagsToSuppress |