Navigation
API > API/Plugins > API/Plugins/CommonUI
| Name | UCommonUISettings |
| Type | class |
| Header File | /Engine/Plugins/Runtime/CommonUI/Source/CommonUI/Public/CommonUISettings.h |
| Include Path | #include "CommonUISettings.h" |
Syntax
UCLASS (MinimalAPI, Config=Game, defaultconfig)
class UCommonUISettings : public UObject
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UCommonUISettings
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UCommonUISettings
(
const FObjectInitializer& Initializer |
CommonUISettings.h | ||
UCommonUISettings
(
FVTableHelper& Helper |
CommonUISettings.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
~UCommonUISettings() |
CommonUISettings.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bAutoLoadData | bool | Controls if the data referenced is automatically loaded. | CommonUISettings.h |
|
| bDefaultDataLoaded | bool | CommonUISettings.h | ||
| CommonButtonAcceptKeyHandling | ECommonButtonAcceptKeyHandling | How should CommonButton widgets handle SlateNavigation Accept actions? | CommonUISettings.h |
|
| DefaultImageResourceObject | TSoftObjectPtr< UObject > | The Default Image Resource, newly created CommonImage Widgets will use this style. | CommonUISettings.h |
|
| DefaultImageResourceObjectInstance | TObjectPtr< UObject > | CommonUISettings.h |
|
|
| DefaultRichTextDataClass | TSoftClassPtr< UCommonUIRichTextData > | The Default Data for rich text to show inline icon and others. | CommonUISettings.h |
|
| DefaultThrobberBrush | FSlateBrush | CommonUISettings.h |
|
|
| DefaultThrobberMaterial | TSoftObjectPtr< UMaterialInterface > | The Default Throbber Material, newly created CommonLoadGuard Widget will use this style. | CommonUISettings.h |
|
| DefaultThrobberMaterialInstance | TObjectPtr< UMaterialInterface > | CommonUISettings.h |
|
|
| PlatformTraitContainer | FGameplayTagContainer | Merged version of PlatformTraits This is not the config property because there is no direct ini inheritance for structs (even ones like tag containers that represent a set), unlike arrays | CommonUISettings.h | |
| PlatformTraits | TArray< FGameplayTag > | The set of traits defined per-platform (e.g., the default input mode, whether or not you can exit the application, etc...) | CommonUISettings.h |
|
| RichTextDataInstance | TObjectPtr< UCommonUIRichTextData > | CommonUISettings.h |
|
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void AutoLoadData() |
Called by the module startup to auto load CommonUISetting data if bAutoLoadData is true. | CommonUISettings.h | |
ECommonButtonAcceptKeyHandling GetCommonButtonAcceptKeyHandling() |
CommonUISettings.h | ||
UObject * GetDefaultImageResourceObject() |
CommonUISettings.h | ||
const FSlateBrush & GetDefaultThrobberBrush() |
CommonUISettings.h | ||
const FGameplayTagContainer & GetPlatformTraits() |
CommonUISettings.h | ||
UCommonUIRichTextData * GetRichTextData() |
CommonUISettings.h | ||
void LoadData() |
Called to load CommonUISetting data, if bAutoLoadData if set to false then game code must call LoadData(). | CommonUISettings.h |
Overridden from UObject
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void PostEditChangeProperty
(
FPropertyChangedEvent& PropertyChangedEvent |
CommonUISettings.h | ||
virtual void PostInitProperties() |
CommonUISettings.h | ||
virtual void PostReloadConfig
(
FProperty* PropertyThatWasLoaded |
CommonUISettings.h |