Advanced Menu System
1.0
|
Audio setting param widget. More...
#include <AudioSettingsWidget.h>
Public Member Functions | |
UAudioSettingsWidget (const FObjectInitializer &ObjectInitializer) | |
virtual void | NativeConstruct () override |
virtual void | SaveSettings () |
Save settings to the save class. More... | |
virtual bool | IsSettingsSaved () |
virtual void | LoadSettings () |
Load settings from save. More... | |
virtual void | ResetSettings () |
Public Attributes | |
class USliderWidget * | MasterSlider |
Master Slider More... | |
class USliderWidget * | SFXSlider |
SFX Slider More... | |
class USliderWidget * | MusicSlider |
Music Slider More... | |
class USliderWidget * | VoiceSlider |
Voice Slider More... | |
class UButton * | ApplyButton |
USoundClass * | MasterSoundClass |
Master Sound Class variable. More... | |
USoundClass * | SFXSoundClass |
SFX Sound Class variable. More... | |
USoundClass * | MusicSoundClass |
Music Sound Class variable. More... | |
USoundClass * | VoiceSoundClass |
Voice Sound Class variable. More... | |
float | MasterVolume |
Current slider master volume volume. More... | |
float | SFXVolume |
SFX slider master volume volume. More... | |
float | MusicVolume |
Music slider master volume volume. More... | |
float | VoiceVolume |
Voice slider master volume volume. More... | |
bool | bInstantApply |
Instant settings applly. More... | |
class UButton * | ResetButton |
TSubclassOf< UAudioSave > | AudioSaveClass |
Protected Member Functions | |
void | OnMasterUpdate (float Value) |
This function only executes when master volume slider is changed. More... | |
void | OnSFXUpdate (float Value) |
This function only executes when SFX volume slider is changed. More... | |
void | OnMusicUpdate (float Value) |
This function only executes when music volume slider is changed. More... | |
void | OnVoiceUpdate (float Value) |
This function only executes when voice volume slider is changed. More... | |
void | OnApplyPress () |
This function only executes when the apply button is pressed. More... | |
virtual void | SynchronizeProperties () override |
Audio setting param widget.
UAudioSettingsWidget::UAudioSettingsWidget | ( | const FObjectInitializer & | ObjectInitializer | ) |
|
virtual |
|
virtual |
Load settings from save.
|
overridevirtual |
|
protected |
This function only executes when the apply button is pressed.
|
protected |
This function only executes when master volume slider is changed.
Value | New value |
|
protected |
This function only executes when music volume slider is changed.
Value | New value |
|
protected |
This function only executes when SFX volume slider is changed.
Value | New value |
|
protected |
This function only executes when voice volume slider is changed.
Value | New value |
|
virtual |
|
virtual |
Save settings to the save class.
|
overrideprotectedvirtual |
class UButton* UAudioSettingsWidget::ApplyButton |
TSubclassOf<UAudioSave> UAudioSettingsWidget::AudioSaveClass |
bool UAudioSettingsWidget::bInstantApply |
Instant settings applly.
class USliderWidget* UAudioSettingsWidget::MasterSlider |
Master Slider
USoundClass* UAudioSettingsWidget::MasterSoundClass |
Master Sound Class variable.
float UAudioSettingsWidget::MasterVolume |
Current slider master volume volume.
class USliderWidget* UAudioSettingsWidget::MusicSlider |
Music Slider
USoundClass* UAudioSettingsWidget::MusicSoundClass |
Music Sound Class variable.
float UAudioSettingsWidget::MusicVolume |
Music slider master volume volume.
class UButton* UAudioSettingsWidget::ResetButton |
class USliderWidget* UAudioSettingsWidget::SFXSlider |
SFX Slider
USoundClass* UAudioSettingsWidget::SFXSoundClass |
SFX Sound Class variable.
float UAudioSettingsWidget::SFXVolume |
SFX slider master volume volume.
class USliderWidget* UAudioSettingsWidget::VoiceSlider |
Voice Slider
USoundClass* UAudioSettingsWidget::VoiceSoundClass |
Voice Sound Class variable.
float UAudioSettingsWidget::VoiceVolume |
Voice slider master volume volume.