Choose your operating system:
Windows
macOS
Linux
| UObjectBase
|
Module |
|
Header |
/Engine/Source/Runtime/AdvancedWidgets/Public/Components/RadialSlider.h |
Include |
#include "Components/RadialSlider.h" |
class URadialSlider : public UWidget
A simple widget that shows a sliding bar with a handle that allows you to control the value between 0..1.
No Children
Name | Description | ||
---|---|---|---|
|
float |
AngularOffset |
Rotates radial slider by arbitrary offset to support full gamut of configurations. |
|
bUseCustomDefaultValue |
Whether the slider should draw it's progress bar from a custom value on the slider |
|
|
CenterBackgroundColor |
The color to draw the center background in. |
|
|
float |
CustomDefaultValue |
The value where the slider should draw it's progress bar from, independent of direction |
|
HandStartEndRatio |
Start and end of the hand as a ratio to the slider radius (so 0.0 to 1.0 is from the slider center to the handle). |
|
|
IsFocusable |
Should the slider be focusable? |
|
|
float |
K2_Cache_Value |
|
|
Locked |
Whether the handle is interactive or fixed. |
|
|
MouseUsesStep |
Sets new value if mouse position is greater/less than half the step size. |
|
|
TSharedPtr< SRa... |
MyRadialSlider |
Native Slate Widget |
|
OnControllerCaptureBegin |
Invoked when the controller capture begins. |
|
|
OnControllerCaptureEnd |
Invoked when the controller capture ends. |
|
|
OnMouseCaptureBegin |
Invoked when the mouse is pressed and a capture begins. |
|
|
OnMouseCaptureEnd |
Invoked when the mouse is released and a capture ends. |
|
|
OnValueChanged |
Called when the value is changed by slider or typing. |
|
|
RequiresControllerLock |
Sets whether we have to lock input to change the slider value. |
|
|
ShowSliderHand |
Whether to show the slider hand. |
|
|
ShowSliderHandle |
Whether to show the slider handle (thumb). |
|
|
SliderBarColor |
The color to draw the slider bar in. |
|
|
SliderHandleColor |
The color to draw the slider handle in. |
|
|
float |
SliderHandleEndAngle |
The angle at which the Slider Handle will end. |
|
float |
SliderHandleStartAngle |
The angle at which the Slider Handle will start. |
|
SliderProgressColor |
The color to draw the completed progress of the slider bar in. |
|
|
SliderRange |
A curve that defines how the slider should be sampled. Default is linear. |
|
|
float |
StepSize |
The amount to adjust the value by, when using a controller or keyboard |
|
UseVerticalDrag |
Whether the value is changed when dragging vertically as opposed to along the radial curve. |
|
|
float |
Value |
The slider value to display. |
|
ValueDelegate |
A bindable delegate to allow logic to drive the value of the widget |
|
|
TArray< float > |
ValueTags |
Adds text tags to the radial slider at the value's position. |
|
WidgetStyle |
The progress bar style |
Name | Description | |
---|---|---|
|
URadialSlider ( |
Name | Description | ||
---|---|---|---|
|
float |
GetCustomDefaultValue() |
Gets the current custom default value of the slider. |
|
float |
GetNormalizedSliderHandlePosition() |
Get the current raw slider alpha from 0 to 1 |
|
float |
GetValue() |
Gets the current value of the slider. |
|
HandleOnControllerCaptureBegin() |
||
|
HandleOnControllerCaptureEnd() |
||
|
HandleOnMouseCaptureBegin() |
||
|
HandleOnMouseCaptureEnd() |
||
|
HandleOnValueChanged ( |
||
|
float |
K2_Gate_Value() |
|
|
SetAngularOffset ( |
Sets the Angular Offset for the slider. |
|
|
SetCenterBackgroundColor ( |
Sets the color of the slider bar |
|
|
SetCustomDefaultValue ( |
Sets the current custom default value of the slider. |
|
|
SetHandStartEndRatio ( |
Sets the start and end of the hand as a ratio to the slider radius (so 0.0 to 1.0 is from the slider center to the handle). |
|
|
SetLocked ( |
Sets the handle to be interactive or fixed |
|
|
SetShowSliderHand ( |
Whether to show the slider hand. |
|
|
SetShowSliderHandle ( |
Whether to show the slider handle (thumb). |
|
|
SetSliderBarColor ( |
Sets the color of the slider bar |
|
|
SetSliderHandleColor ( |
Sets the color of the handle bar |
|
|
SetSliderHandleEndAngle ( |
Sets the maximum angle of the slider. |
|
|
SetSliderHandleStartAngle ( |
Sets the minimum angle of the slider. |
|
|
SetSliderProgressColor ( |
Sets the progress color of the slider bar |
|
|
SetSliderRange ( |
Sets the curve for the slider range |
|
|
SetStepSize ( |
Sets the amount to adjust the value by, when using a controller or keyboard |
|
|
SetUseVerticalDrag ( |
Set whether the value is changed when dragging vertically as opposed to along the radial curve. |
|
|
SetValue ( |
Sets the current value of the slider. |
|
|
SetValueTags ( |
Adds value tags to the slider. |
Name | Description | ||
---|---|---|---|
|
TSharedPtr< ... |
GetAccessibleWidget() |
Gets the widget that accessibility properties should synchronize to. |
|
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 ( |