Navigation
API > API/Plugins > API/Plugins/CommonUI
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UVisual
- UWidget
- UCommonActionWidget
References
| Module | CommonUI |
| Header | /Engine/Plugins/Runtime/CommonUI/Source/CommonUI/Public/CommonActionWidget.h |
| Include | #include "CommonActionWidget.h" |
Syntax
UCLASS&40;BlueprintType, Blueprintable&41;
class UCommonActionWidget : public UWidget
Remarks
A widget that shows a platform-specific icon for the given input action.
Variables
| Type | Name | Description | |
|---|---|---|---|
| bool | bAlwaysHideOverride | ||
| FUIActionBindingHandle | DisplayedBindingHandle | ||
| TObjectPtr< class UInputAction > | EnhancedInputAction | Input Action this common action widget is intended to represent. Optional if using EnhancedInputs | |
| FSlateBrush | Icon | ||
| FSlateBrush | IconRimBrush | ||
| TArray< FDataTableRowHandle > | InputActions | List all the input actions that this common action widget is intended to represent. | |
| TSharedPtr< SImage > | MyIcon | ||
| TSharedPtr< SImage > | MyIconRim | ||
| TSharedPtr< SBox > | MyKeyBox | ||
| TSharedPtr< SImage > | MyProgressImage | ||
| FOnInputMethodChanged | OnInputMethodChanged | ||
| TObjectPtr< UMaterialInstanceDynamic > | ProgressDynamicMaterial | ||
| FSlateBrush | ProgressMaterialBrush | The material to use when showing held progress, the progress will be sent using the material parameter defined by ProgressMaterialParam and the value will range from 0..1. | |
| FName | ProgressMaterialParam | The material parameter on ProgressMaterialBrush to update the held percentage. |
Constructors
| Type | Name | Description | |
|---|---|---|---|
UCommonActionWidget
(
const FObjectInitializer& ObjectInitializer |
Functions
| Type | Name | Description | |
|---|---|---|---|
| FText | |||
| FSlateBrush | GetIcon () |
End UWidet | |
| const FCommonInputActionDataBase * | |||
| UCommonInputSubsystem * | |||
| void | HandleInputMethodChanged
(
ECommonInputType InInputType |
||
| bool | IsHeldAction () |
||
| void | ListenToInputMethodChanged
(
bool bListen |
||
| void | |||
| void | OnActionProgress
(
float HeldPercent |
||
| void | SetEnhancedInputAction
(
UInputAction* InInputAction |
||
| void | SetHidden
(
bool bAlwaysHidden |
||
| void | SetIconRimBrush
(
FSlateBrush InIconRimBrush |
||
| void | SetInputAction
(
FDataTableRowHandle InputActionRow |
||
| void | SetInputActionBinding
(
FUIActionBindingHandle BindingHandle |
||
| void | SetInputActions
(
TArray< FDataTableRowHandle > NewInputActions |
||
| void | SetProgressMaterial
(
const FSlateBrush& InProgressMaterialBrush, |
||
| void | |||
| void | UpdateBindingHandleInternal
(
FUIActionBindingHandle BindingHandle |
Overridden from UWidget
| Type | Name | Description | |
|---|---|---|---|
| const FText | Gets the palette category of the widget | ||
| void | Function called after the underlying SWidget is constructed. | ||
| TSharedRef< SWidget > | Begin UWidget | ||
| void | Applies all properties to the native widget if possible. |
Overridden from UVisual
| Type | Name | Description | |
|---|---|---|---|
| void | ReleaseSlateResources
(
bool bReleaseChildren |
Overridden from UObject
| Type | Name | Description | |
|---|---|---|---|
| void | Handles reading, writing, and reference collecting using FArchive. |
Classes
| Type | Name | Description | |
|---|---|---|---|
| FOnInputMethodChanged |
Deprecated Variables
| Type | Name | Description | |
|---|---|---|---|
| FDataTableRowHandle | InputActionDataRow_DEPRECATED |