Navigation
API > API/Plugins > API/Plugins/AudioWidgets
A simple widget that shows a button Button is rendered by using material instead of texture.
- No Children
| Name | UAudioMaterialButton |
| Type | class |
| Header File | /Engine/Plugins/Runtime/AudioWidgets/Source/AudioWidgets/Public/AudioMaterialSlate/AudioMaterialButton.h |
| Include Path | #include "AudioMaterialSlate/AudioMaterialButton.h" |
Syntax
UCLASS (MinimalAPI)
class UAudioMaterialButton : public UWidget
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UVisual → UWidget → UAudioMaterialButton
Implements Interfaces
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UAudioMaterialButton() |
AudioMaterialSlate/AudioMaterialButton.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| OnButtonPressedChangedEvent | FOnButtonPressedChangedEvent | Called when the value is changed by button. | AudioMaterialSlate/AudioMaterialButton.h |
|
| WidgetStyle | FAudioMaterialButtonStyle | The button's style | AudioMaterialSlate/AudioMaterialButton.h |
|
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bIsPressed | bool | Default Value of the button | AudioMaterialSlate/AudioMaterialButton.h |
|
| Button | TSharedPtr< SAudioMaterialButton > | Native Slate Widget | AudioMaterialSlate/AudioMaterialButton.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool GetIsPressed() |
Gets the current value of the slider. | AudioMaterialSlate/AudioMaterialButton.h |
|
void SetIsPressed
(
bool InPressed |
Sets the current value of the slider. InValue is Clamped between 0.f - 1.f | AudioMaterialSlate/AudioMaterialButton.h |
|
Overridden from UWidget
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual const FText GetPaletteCategory() |
AudioMaterialSlate/AudioMaterialButton.h | ||
virtual void SynchronizeProperties() |
UWidget. | AudioMaterialSlate/AudioMaterialButton.h |
Overridden from UVisual
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void ReleaseSlateResources
(
bool bReleaseChildren |
UVisual. | AudioMaterialSlate/AudioMaterialButton.h |
Protected
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void HandleOnPressedValueChanged
(
bool InPressedSate |
AudioMaterialSlate/AudioMaterialButton.h |
Overridden from UWidget
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual TSharedRef< SWidget > RebuildWidget() |
UWidget. | AudioMaterialSlate/AudioMaterialButton.h |