Navigation
API > API/Plugins > API/Plugins/CommonUI
| Name | UCommonUserWidget |
| Type | class |
| Header File | /Engine/Plugins/Runtime/CommonUI/Source/CommonUI/Public/CommonUserWidget.h |
| Include Path | #include "CommonUserWidget.h" |
Syntax
UCLASS (MinimalAPI, ClassGroup=UI, Meta=(Category="Common UI", DisableNativeTick))
class UCommonUserWidget : public UUserWidget
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UVisual → UWidget → UUserWidget → UCommonUserWidget
Implements Interfaces
Derived Classes
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UCommonUserWidget
(
const FObjectInitializer& ObjectInitializer |
CommonUserWidget.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| ActionBindings | TArray< FUIActionBindingHandle > | CommonUserWidget.h | ||
| bConsumePointerInput | bool | Set this to true if you don't want any pointer (mouse and touch) input to bubble past this widget | CommonUserWidget.h |
|
| ScrollRecipients | TArray< TWeakObjectPtr< const UWidget > > | CommonUserWidget.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void AddActionBinding
(
FUIActionBindingHandle ActionBinding |
CommonUserWidget.h | ||
const TArray< FUIActionBindingHandle > & GetActionBindings() |
CommonUserWidget.h | ||
const TArray< TWeakObjectPtr< const UWidget > > GetScrollRecipients() |
CommonUserWidget.h | ||
void RegisterScrollRecipientExternal
(
const UWidget* AnalogScrollRecipient |
Add a widget to the list of widgets to get scroll events for this input root node | CommonUserWidget.h |
|
FUIActionBindingHandle RegisterUIActionBinding
(
const FBindUIActionArgs& BindActionArgs |
Convenience methods for menu action registrations (any UWidget can register via FCommonUIActionRouter directly, though generally that shouldn't be needed). | CommonUserWidget.h | |
void RemoveActionBinding
(
FUIActionBindingHandle ActionBinding |
CommonUserWidget.h | ||
void SetConsumePointerInput
(
bool bInConsumePointerInput |
Sets whether or not this widget will consume ALL pointer input that reaches it | CommonUserWidget.h |
|
void UnregisterScrollRecipientExternal
(
const UWidget* AnalogScrollRecipient |
Remove a widget from the list of widgets to get scroll events for this input root node | CommonUserWidget.h |
|
Protected
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
GameInstanceT & GetGameInstanceChecked() |
CommonUserWidget.h | ||
UCommonInputSubsystem * GetInputSubsystem() |
CommonUserWidget.h | ||
TSharedPtr< FSlateUser > GetOwnerSlateUser() |
CommonUserWidget.h | ||
PlayerControllerT & GetOwningPlayerChecked() |
CommonUserWidget.h | ||
UCommonUISubsystemBase * GetUISubsystem() |
CommonUserWidget.h | ||
void RegisterScrollRecipient
(
const UWidget& AnalogScrollRecipient |
CommonUserWidget.h | ||
void UnregisterScrollRecipient
(
const UWidget& AnalogScrollRecipient |
CommonUserWidget.h |
Overridden from UUserWidget
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ERequiresLegacyPlayer GetLegacyPlayerRequirement() |
CommonUserWidget.h | ||
virtual void NativeDestruct() |
CommonUserWidget.h | ||
virtual FReply NativeOnMouseButtonDoubleClick
(
const FGeometry& InGeometry, |
CommonUserWidget.h | ||
virtual FReply NativeOnMouseButtonDown
(
const FGeometry& InGeometry, |
CommonUserWidget.h | ||
virtual FReply NativeOnMouseButtonUp
(
const FGeometry& InGeometry, |
CommonUserWidget.h | ||
virtual FReply NativeOnMouseWheel
(
const FGeometry& InGeometry, |
CommonUserWidget.h | ||
virtual FReply NativeOnTouchEnded
(
const FGeometry& InGeometry, |
CommonUserWidget.h | ||
virtual FReply NativeOnTouchGesture
(
const FGeometry& InGeometry, |
CommonUserWidget.h | ||
virtual FReply NativeOnTouchMoved
(
const FGeometry& InGeometry, |
CommonUserWidget.h | ||
virtual FReply NativeOnTouchStarted
(
const FGeometry& InGeometry, |
CommonUserWidget.h |
Overridden from UWidget
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual const FText GetPaletteCategory() |
CommonUserWidget.h | ||
virtual void OnWidgetRebuilt() |
CommonUserWidget.h |