Navigation
API > API/Plugins > API/Plugins/AudioWidgets
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
| Name | UAudioMaterialSlider |
| Type | class |
| Header File | /Engine/Plugins/Runtime/AudioWidgets/Source/AudioWidgets/Public/AudioMaterialSlate/AudioMaterialSlider.h |
| Include Path | #include "AudioMaterialSlate/AudioMaterialSlider.h" |
Syntax
UCLASS (MinimalAPI)
class UAudioMaterialSlider : public UWidget
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UVisual → UWidget → UAudioMaterialSlider
Implements Interfaces
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UAudioMaterialSlider
(
const FObjectInitializer& ObjectInitializer |
AudioMaterialSlate/AudioMaterialSlider.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| OnValueChanged | FOnSliderFloatValueChangedEvent | Called when the value is changed by slider. | AudioMaterialSlate/AudioMaterialSlider.h |
|
| WidgetStyle | FAudioMaterialSliderStyle | The slider's style | AudioMaterialSlate/AudioMaterialSlider.h |
|
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bLocked | bool | Whether the slider is interactive or fixed. | AudioMaterialSlate/AudioMaterialSlider.h |
|
| bMouseUsesStep | bool | Sets new value if mouse position is greater/less than half the step size. | AudioMaterialSlate/AudioMaterialSlider.h |
|
| FineTuneSpeed | float | The tune speed of the slider when fine-tuning the slider On Mouse move && Left-Shift pressed | AudioMaterialSlate/AudioMaterialSlider.h |
|
| Orientation | TEnumAsByte< EOrientation > | Orientation of the slider | AudioMaterialSlate/AudioMaterialSlider.h |
|
| Slider | TSharedPtr< SAudioMaterialSlider > | Native Slate Widget | AudioMaterialSlate/AudioMaterialSlider.h | |
| StepSize | float | The amount to adjust the value by, when using steps | AudioMaterialSlate/AudioMaterialSlider.h |
|
| TuneSpeed | float | The tune speed of the slider On Mouse move | AudioMaterialSlate/AudioMaterialSlider.h |
|
| Value | float | Default Value of the slider | AudioMaterialSlate/AudioMaterialSlider.h |
|
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
float GetFineTuneSpeed() |
Get slider fine-tune speed | AudioMaterialSlate/AudioMaterialSlider.h |
|
bool GetIsLocked() |
Get whether the slider is interactive or fixed. | AudioMaterialSlate/AudioMaterialSlider.h |
|
bool GetMouseUsesStep() |
Get whether the slider uses steps when turning On Mouse move | AudioMaterialSlate/AudioMaterialSlider.h |
|
float GetStepSize() |
Get Step Size | AudioMaterialSlate/AudioMaterialSlider.h |
|
float GetTuneSpeed() |
Get slider tune speed | AudioMaterialSlate/AudioMaterialSlider.h |
|
float GetValue() |
Gets the current value of the slider. | AudioMaterialSlate/AudioMaterialSlider.h |
|
void SetFineTuneSpeed
(
const float InValue |
Set the fine-tune speed of the slider. InValue is Clamped between 0.f - 1.f | AudioMaterialSlate/AudioMaterialSlider.h |
|
void SetLocked
(
bool bInLocked |
Set the slider to be interactive or fixed | AudioMaterialSlate/AudioMaterialSlider.h |
|
void SetMouseUsesStep
(
bool bInUsesStep |
Sets the slider to use steps when turning On Mouse move | AudioMaterialSlate/AudioMaterialSlider.h |
|
void SetStepSize
(
float InValue |
Sets the amount to adjust the value when using steps | AudioMaterialSlate/AudioMaterialSlider.h |
|
void SetTuneSpeed
(
const float InValue |
Set the tune speed of the slider. InValue is Clamped between 0.f - 1.f | AudioMaterialSlate/AudioMaterialSlider.h |
|
void SetValue
(
float InValue |
Sets the current value of the slider. InValue is Clamped between 0.f - 1.f | AudioMaterialSlate/AudioMaterialSlider.h |
|
Overridden from UWidget
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual const FText GetPaletteCategory() |
AudioMaterialSlate/AudioMaterialSlider.h | ||
virtual void SynchronizeProperties() |
UWidget. | AudioMaterialSlate/AudioMaterialSlider.h |
Overridden from UVisual
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void ReleaseSlateResources
(
bool bReleaseChildren |
UVisual. | AudioMaterialSlate/AudioMaterialSlider.h |
Protected
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void HandleOnValueChanged
(
float InValue |
AudioMaterialSlate/AudioMaterialSlider.h |
Overridden from UWidget
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual TSharedRef< SWidget > RebuildWidget() |
UWidget. | AudioMaterialSlate/AudioMaterialSlider.h |