Choose your operating system:
Windows
macOS
Linux
| UObjectBase
|
Module |
|
Header |
/Engine/Source/Runtime/UMG/Public/Components/SpinBox.h |
Include |
#include "Components/SpinBox.h" |
class USpinBox : public UWidget
A numerical entry box that allows for direct entry of the number or allows the user to click and slide the number.
Name | Description | ||
---|---|---|---|
|
bAlwaysUsesDeltaSnap |
Whether this spin box should use the delta snapping logic for typed values - default false |
|
|
uint32: 1 |
bOverride_MaxSliderValue |
Whether the optional MaxSliderValue attribute of the widget is set |
|
uint32: 1 |
bOverride_MaxValue |
Whether the optional MaxValue attribute of the widget is set |
|
uint32: 1 |
bOverride_MinSliderValue |
Whether the optional MinSliderValue attribute of the widget is set |
|
uint32: 1 |
bOverride_MinValue |
Whether the optional MinValue attribute of the widget is set |
|
ClearKeyboardFocusOnCommit |
Whether to remove the keyboard focus from the spin box when the value is committed |
|
|
float |
Delta |
The amount by which to change the spin box value as the slider moves. |
|
Font |
Font color and opacity (overrides style) |
|
|
ForegroundColor |
||
|
TEnumAsByte< ET... |
Justification |
The justification the value text should appear as. |
|
float |
K2_Cache_Value |
|
|
MaxFractionalDigits |
The maximume required fractional digits - default 6 |
|
|
float |
MaxSliderValue |
The maximum allowable value that can be specified using the slider |
|
float |
MaxValue |
The maximum allowable value that can be manually entered into the spin box |
|
float |
MinDesiredWidth |
The minimum width of the spin box |
|
MinFractionalDigits |
The minimum required fractional digits - default 1 |
|
|
float |
MinSliderValue |
The minimum allowable value that can be specified using the slider |
|
float |
MinValue |
The minimum allowable value that can be manually entered into the spin box |
|
TSharedPtr< SSp... |
MySpinBox |
|
|
OnBeginSliderMovement |
Called right before the slider begins to move |
|
|
OnEndSliderMovement |
Called right after the slider handle is released by the user |
|
|
OnValueChanged |
Called when the value is changed interactively by the user |
|
|
OnValueCommitted |
Called when the value is committed. Occurs when the user presses Enter or the text box loses focus. |
|
|
SelectAllTextOnCommit |
Whether to select the text in the spin box when the value is committed |
|
|
float |
SliderExponent |
The exponent by which to increase the delta as the mouse moves. |
|
float |
Value |
Value stored in this spin box |
|
ValueDelegate |
A bindable delegate to allow logic to drive the value of the widget |
|
|
WidgetStyle |
The Style |
Name | Description | |
---|---|---|
|
USpinBox ( |
Name | Description | ||
---|---|---|---|
|
ClearMaxSliderValue() |
Clear the maximum value that can be specified using the slider. |
|
|
ClearMaxValue() |
Clear the maximum value that can be manually set in the spin box. |
|
|
ClearMinSliderValue() |
Clear the minimum value that can be specified using the slider. |
|
|
ClearMinValue() |
Clear the minimum value that can be manually set in the spin box. |
|
|
GetAlwaysUsesDeltaSnap() |
Get whether the spin box uses delta snap on type. |
|
|
float |
GetDelta() |
Get the current delta for the spin box. |
|
GetMaxFractionalDigits() |
Get the current Max Fractional Digits for the spin box. |
|
|
float |
GetMaxSliderValue() |
Get the current maximum value that can be specified using the slider. |
|
float |
GetMaxValue() |
Get the current maximum value that can be manually set in the spin box. |
|
GetMinFractionalDigits() |
Get the current Min Fractional Digits for the spin box. |
|
|
float |
GetMinSliderValue() |
Get the current minimum value that can be specified using the slider. |
|
float |
GetMinValue() |
Get the current minimum value that can be manually set in the spin box. |
|
float |
GetValue() |
Get the current value of the spin box. |
|
HandleOnBeginSliderMovement() |
||
|
HandleOnEndSliderMovement ( |
||
|
HandleOnValueChanged ( |
||
|
HandleOnValueCommitted ( |
||
|
float |
K2_Gate_Value() |
|
|
SetAlwaysUsesDeltaSnap ( |
Set whether the spin box uses delta snap on type. |
|
|
SetDelta ( |
Set the delta for the spin box. |
|
|
SetForegroundColor ( |
||
|
SetMaxFractionalDigits ( |
Set the Max Fractional Digits for the spin box. |
|
|
SetMaxSliderValue ( |
Set the maximum value that can be specified using the slider. |
|
|
SetMaxValue ( |
Set the maximum value that can be manually set in the spin box. |
|
|
SetMinFractionalDigits ( |
Set the Min Fractional Digits for the spin box. |
|
|
SetMinSliderValue ( |
Set the minimum value that can be specified using the slider. |
|
|
SetMinValue ( |
Set the minimum value that can be manually set in the spin box. |
|
|
SetValue ( |
Set the value of the spin box. |
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 | ||
---|---|---|---|
|
PostLoad() |
Do any object-specific cleanup required immediately after loading an object. |
Name | Description | ||
---|---|---|---|
|
TObjectPtr< USl... |
Style_DEPRECATED |