Navigation
API > API/Runtime > API/Runtime/AdvancedWidgets
| Name | SRadialSlider |
| Type | class |
| Header File | /Engine/Source/Runtime/AdvancedWidgets/Public/Widgets/SRadialSlider.h |
| Include Path | #include "Widgets/SRadialSlider.h" |
Syntax
class SRadialSlider : public SLeafWidget
Inheritance Hierarchy
- FSharedFromThisBase → TSharedFromThis → SWidget → SLeafWidget → SRadialSlider
- FSlateControlledConstruction → SWidget → SLeafWidget → SRadialSlider
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
SRadialSlider() |
Widgets/SRadialSlider.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~SRadialSlider() |
Widgets/SRadialSlider.h |
Structs
| Name | Remarks |
|---|---|
| FArguments |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| AbsoluteInputAngle | float | Holds the current interaction's unclamped input angle. | Widgets/SRadialSlider.h | |
| bIsUsingFineTune | bool | Settings for behavior when IsUsingVerticalDrag is true For when UseVerticalDrag is true, whether we're fine tuning the value | Widgets/SRadialSlider.h | |
| FineTuneKey | FKey | The key to use when fine tuning vertical drag. | Widgets/SRadialSlider.h | |
| OnControllerCaptureBegin | FSimpleDelegate | Holds a delegate that is executed when capture begins for controller or keyboard. | Widgets/SRadialSlider.h | |
| OnControllerCaptureEnd | FSimpleDelegate | Holds a delegate that is executed when capture ends for controller or keyboard. | Widgets/SRadialSlider.h | |
| OnMouseCaptureBegin | FSimpleDelegate | Holds a delegate that is executed when the mouse is pressed and a capture begins. | Widgets/SRadialSlider.h | |
| OnMouseCaptureEnd | FSimpleDelegate | Holds a delegate that is executed when the mouse is let up and a capture ends. | Widgets/SRadialSlider.h | |
| OnValueChanged | FOnFloatValueChanged | Holds a delegate that is executed when the slider's value changed. | Widgets/SRadialSlider.h | |
| PreviousAbsolutePosition | FVector2D | Stores the previous absolute position to support calculating rotational delta for relative input. | Widgets/SRadialSlider.h | |
| VerticalDragMouseSpeedFineTune | float | Widgets/SRadialSlider.h | ||
| VerticalDragMouseSpeedNormal | float | Widgets/SRadialSlider.h | ||
| VerticalDragPixelDelta | float | Widgets/SRadialSlider.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void Construct
(
const SRadialSlider::FArguments& InDeclaration |
Construct the widget. | Widgets/SRadialSlider.h | |
float GetAngularOffset() |
Get the AngularOffset attribute | Widgets/SRadialSlider.h | |
float GetCustomDefaultValue() |
Get ths CustomDefaultValue attribute | Widgets/SRadialSlider.h | |
float GetMaxValue() |
Get the maximum value in Slider Range | Widgets/SRadialSlider.h | |
float GetMinValue() |
Get the minumum value in Slider Range | Widgets/SRadialSlider.h | |
float GetNormalizedSliderHandlePosition() |
Get the Slider's Handle position scaled from 0 to 1 | Widgets/SRadialSlider.h | |
float GetNormalizedValue
(
float RawValue |
Get the Value attribute scaled from 0 to 1 | Widgets/SRadialSlider.h | |
float GetSliderHandleEndAngle() |
Get the MaxSliderHandleAngle attribute | Widgets/SRadialSlider.h | |
float GetSliderHandleStartAngle() |
Get the MinSliderHandleAngle attribute | Widgets/SRadialSlider.h | |
FRuntimeFloatCurve GetSliderRange() |
Get the SliderRange attribute | Widgets/SRadialSlider.h | |
float GetStepSize() |
Get the StepSize attribute | Widgets/SRadialSlider.h | |
bool GetUseCustomDefaultValue() |
Get the bUseCustomDefaultValue attribute | Widgets/SRadialSlider.h | |
float GetValue() |
Get the Value attribute | Widgets/SRadialSlider.h | |
TArray< float > GetValueTags() |
Get the ValueTags attribute | Widgets/SRadialSlider.h | |
bool IsLocked() |
Widgets/SRadialSlider.h | ||
virtual int32 OnPaint
(
const FPaintArgs& Args, |
Widgets/SRadialSlider.h | ||
void SetAngularOffset
(
float InAngularOffset |
Set the AngularOffset attribute | Widgets/SRadialSlider.h | |
void SetCenterBackgroundColor
(
FSlateColor InCenterHandleColor |
Set the SliderHandleColor attribute | Widgets/SRadialSlider.h | |
void SetCustomDefaultValue
(
const TAttribute< float >& InValueAttribute |
Set the CustomDefaultValue attribute | Widgets/SRadialSlider.h | |
void SetHandStartEndRatio
(
FVector2D InHandStartEndRatio |
Set the HandStartEndRatio. | Widgets/SRadialSlider.h | |
void SetLocked
(
const TAttribute< bool >& InLocked |
Set the Locked attribute | Widgets/SRadialSlider.h | |
void SetMouseUsesStep
(
bool MouseUsesStep |
Set the MouseUsesStep attribute | Widgets/SRadialSlider.h | |
void SetRequiresControllerLock
(
bool RequiresControllerLock |
Set the RequiresControllerLock attribute | Widgets/SRadialSlider.h | |
void SetShowSliderHand
(
bool ShowSliderHand |
Set the ShowSliderHand attribute | Widgets/SRadialSlider.h | |
void SetShowSliderHandle
(
bool ShowSliderHandle |
Set the ShowSliderHandle attribute | Widgets/SRadialSlider.h | |
void SetSliderBarColor
(
FSlateColor InSliderBarColor |
Set the SliderBarColor attribute | Widgets/SRadialSlider.h | |
void SetSliderHandleColor
(
FSlateColor InSliderHandleColor |
Set the SliderHandleColor attribute | Widgets/SRadialSlider.h | |
void SetSliderHandleStartAngleAndSliderHandleEndAngle
(
float InSliderHandleStartAngle, |
Set the SliderHandleStartAngle and SliderHandleEndAngle attributes. | Widgets/SRadialSlider.h | |
void SetSliderProgressColor
(
FSlateColor InSliderProgressColor |
Set the SliderProgressColor attribute | Widgets/SRadialSlider.h | |
void SetSliderRange
(
const FRuntimeFloatCurve& InSliderRange |
Set the SliderRange attribute | Widgets/SRadialSlider.h | |
void SetStepSize
(
const TAttribute< float >& InStepSize |
Set the StepSize attribute | Widgets/SRadialSlider.h | |
void SetThickness
(
const float InThickness |
Set the Thickness attribute. | Widgets/SRadialSlider.h | |
void SetUseCustomDefaultValue
(
const TAttribute< bool >& InValueAttribute |
Set the bUseCustomDefaultValue attribute | Widgets/SRadialSlider.h | |
void SetUseVerticalDrag
(
bool UseVerticalDrag |
Set the UseVerticalDrag attribute | Widgets/SRadialSlider.h | |
void SetValue
(
const TAttribute< float >& InValueAttribute |
Set the Value attribute | Widgets/SRadialSlider.h | |
void SetValueTags
(
const TArray< float >& InValueTags |
Set the ValueTags attribute | Widgets/SRadialSlider.h |
Overridden from SWidget
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual FVector2D ComputeDesiredSize
(
float |
Widgets/SRadialSlider.h | ||
virtual TSharedRef< FSlateAccessibleWidget > CreateAccessibleWidget() |
Widgets/SRadialSlider.h | ||
virtual bool IsInteractable() |
Widgets/SRadialSlider.h | ||
virtual void OnFocusLost
(
const FFocusEvent& InFocusEvent |
Widgets/SRadialSlider.h | ||
| Widgets/SRadialSlider.h | |||
| Widgets/SRadialSlider.h | |||
virtual FReply OnMouseButtonDown
(
const FGeometry& MyGeometry, |
Widgets/SRadialSlider.h | ||
virtual FReply OnMouseButtonUp
(
const FGeometry& MyGeometry, |
Widgets/SRadialSlider.h | ||
virtual FReply OnMouseMove
(
const FGeometry& MyGeometry, |
Widgets/SRadialSlider.h | ||
virtual FNavigationReply OnNavigation
(
const FGeometry& MyGeometry, |
Widgets/SRadialSlider.h | ||
virtual FReply OnTouchEnded
(
const FGeometry& MyGeometry, |
Widgets/SRadialSlider.h | ||
virtual FReply OnTouchMoved
(
const FGeometry& MyGeometry, |
Widgets/SRadialSlider.h | ||
virtual FReply OnTouchStarted
(
const FGeometry& MyGeometry, |
Widgets/SRadialSlider.h | ||
virtual bool SupportsKeyboardFocus() |
Widgets/SRadialSlider.h |
Protected
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void CommitValue
(
float NewValue |
Commits the specified slider value. | Widgets/SRadialSlider.h | |
const FSlateBrush * GetBarImage() |
Widgets/SRadialSlider.h | ||
const FSlateBrush * GetThumbImage() |
Widgets/SRadialSlider.h | ||
float PositionToValue
(
const FGeometry& MyGeometry, |
Calculates the new value based on the given absolute coordinates. | Widgets/SRadialSlider.h |