Choose your operating system:
Windows
macOS
Linux
Module |
|
Header |
/Engine/Plugins/Experimental/CommonUI/Source/CommonUI/Public/CommonRotator.h |
Include |
#include "CommonRotator.h" |
UCLASS(Meta=(DisableNativeTick))
class UCommonRotator : public UCommonButtonBase
A button that can rotate between given text labels.
Name | Description | ||
---|---|---|---|
|
MyText |
The displayed text |
|
|
OnNavigation |
Handle and use controller navigation to rotate text |
|
|
OnRotated |
Called when the Selected state of this button changes |
|
|
OnRotatedEvent |
||
|
SelectedIndex |
The index of the current text item |
|
|
TextLabels |
Holds the array of display texts. |
Name | Description | |
---|---|---|
|
UCommonRotator ( |
Name | Description | ||
---|---|---|---|
|
BP_OnOptionSelected ( |
||
|
BP_OnOptionsPopulated ( |
||
|
GetSelectedIndex() |
Gets the current selected index |
|
|
GetSelectedText() |
Gets the current text value of the slider. |
|
|
TSharedPtr< ... |
HandleNavigation ( |
|
|
PopulateTextLabels |
Set the array of texts available |
|
|
SetSelectedItem ( |
Sets the current value of the slider. |
|
|
ShiftTextLeft() |
Shift the current text left. |
|
|
ShiftTextLeftInternal ( |
||
|
ShiftTextRight() |
Shift the current text right. |
|
|
ShiftTextRightInternal ( |
Name | Description | ||
---|---|---|---|
|
Initialize() |
||
|
FNavigationR... |
NativeOnNavigation ( |
Name |
Description |
|
---|---|---|
|
FRotationEvent |