Navigation
API > API/Plugins > API/Plugins/AudioWidgets > API/Plugins/AudioWidgets/AudioMaterialSlate
Inheritance Hierarchy
References
| Module | AudioWidgets |
| Header | /Engine/Plugins/Runtime/AudioWidgets/Source/AudioWidgets/Public/AudioMaterialSlate/AudioMaterialSlider.h |
| Include | #include "AudioMaterialSlate/AudioMaterialSlider.h" |
Syntax
UCLASS ()
class UAudioMaterialSlider : public UWidget
Remarks
A simple widget that shows a sliding bar with a handle that allows you to control the value between 0..1. Slider is rendered by using material instead of texture.
- No Children
Variables
| Type | Name | Description | |
|---|---|---|---|
| FOnSliderFloatValueChangedEvent | OnValueChanged | Called when the value is changed by slider. | |
| FAudioMaterialSliderStyle | WidgetStyle | The slider's style |
Constructors
| Type | Name | Description | |
|---|---|---|---|
UAudioMaterialSlider
(
const FObjectInitializer& ObjectInitializer |
Functions
| Type | Name | Description | |
|---|---|---|---|
| float | Get slider fine-tune speed | ||
| bool | GetIsLocked () |
Get whether the slider is interactive or fixed. | |
| bool | Get whether the slider uses steps when turning On Mouse move | ||
| float | GetStepSize () |
Get Step Size | |
| float | GetTuneSpeed () |
Get slider tune speed | |
| float | GetValue () |
Gets the current value of the slider. | |
| void | HandleOnValueChanged
(
float InValue |
||
| void | SetFineTuneSpeed
(
const float InValue |
Set the fine-tune speed of the slider. InValue is Clamped between 0.f - 1.f | |
| void | SetLocked
(
bool bInLocked |
Set the slider to be interactive or fixed | |
| void | SetMouseUsesStep
(
bool bInUsesStep |
Sets the slider to use steps when turning On Mouse move | |
| void | SetStepSize
(
float InValue |
Sets the amount to adjust the value when using steps | |
| void | SetTuneSpeed
(
const float InValue |
Set the tune speed of the slider. InValue is Clamped between 0.f - 1.f | |
| void | SetValue
(
float InValue |
Sets the current value of the slider. InValue is Clamped between 0.f - 1.f |
Overridden from UWidget
| Type | Name | Description | |
|---|---|---|---|
| const FText | Gets the palette category of the widget | ||
| TSharedRef< SWidget > | UWidget. | ||
| void | UWidget. |
Overridden from UVisual
| Type | Name | Description | |
|---|---|---|---|
| void | ReleaseSlateResources
(
bool bReleaseChildren |
UVisual. |