Choose your operating system:
Windows
macOS
Linux
| UObjectBase
|
Module |
|
Header |
/Engine/Source/Runtime/UMG/Public/Components/InputKeySelector.h |
Include |
#include "Components/InputKeySelector.h" |
class UInputKeySelector : public UWidget
A widget for selecting a single key or a single key with a modifier.
Name | Description | ||
---|---|---|---|
|
bAllowGamepadKeys |
When true gamepad keys are allowed in the input chord representing the selected key, otherwise they are ignored. |
|
|
bAllowModifierKeys |
When true modifier keys such as control and alt are allowed in the input chord representing the selected key, if false modifier keys are ignored. |
|
|
EscapeKeys |
When true gamepad keys are allowed in the input chord representing the selected key, otherwise they are ignored. |
|
|
KeySelectionText |
Sets the text which is displayed while selecting keys. |
|
|
Margin |
The amount of blank space around the text used to display the currently selected key. |
|
|
NoKeySpecifiedText |
Sets the text to display when no key text is available or not selecting a key. |
|
|
OnIsSelectingKeyChanged |
Called whenever the key selection mode starts or stops. |
|
|
OnKeySelected |
Called whenever a new key is selected by the user. |
|
|
SelectedKey |
The currently selected key chord. |
|
|
TextStyle |
The button style used at runtime |
|
|
WidgetStyle |
The button style used at runtime |
Name | Description | |
---|---|---|
|
UInputKeySelector ( |
Name | Description | ||
---|---|---|---|
|
GetIsSelectingKey() |
Returns true if the widget is currently selecting a key, otherwise returns false. |
|
|
SetAllowGamepadKeys ( |
Sets whether or not gamepad keys are allowed in the selected key. |
|
|
SetAllowModifierKeys ( |
Sets whether or not modifier keys are allowed in the selected key. |
|
|
SetButtonStyle ( |
Sets the style of the button used to start key selection mode. |
|
|
SetEscapeKeys |
Sets escape keys. |
|
|
SetKeySelectionText ( |
Sets the text which is displayed while selecting keys. |
|
|
SetNoKeySpecifiedText ( |
Sets the text to display when no key text is available or not selecting a key. |
|
|
SetSelectedKey ( |
Sets the currently selected key. |
|
|
SetTextBlockVisibility ( |
Sets the visibility of the text block. |
Name | Description | ||
---|---|---|---|
|
const FText |
GetPaletteCategory() |
Gets the palette category of the widget |
|
TSharedRef< ... |
RebuildWidget() |
Function implemented by all subclasses of UWidget is called when the underlying SWidget needs to be constructed. |
|
SynchronizeProperties() |
Applies all properties to the native widget if possible. |
Name | Description | ||
---|---|---|---|
|
ReleaseSlateResources ( |
Name |
Description |
|
---|---|---|
|
FOnIsSelectingKeyChanged |
|
|
FOnKeySelected |
Name | Description | ||
---|---|---|---|
|
ColorAndOpacity_DEPRECATED |
||
|
Font_DEPRECATED |