Advanced Menu System  1.0
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | Protected Member Functions | List of all members
UAudioSettingsWidget Class Reference

Audio setting param widget. More...

#include <AudioSettingsWidget.h>

+ Inheritance diagram for UAudioSettingsWidget:

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 USliderWidgetMasterSlider
 Master Slider More...
 
class USliderWidgetSFXSlider
 SFX Slider More...
 
class USliderWidgetMusicSlider
 Music Slider More...
 
class USliderWidgetVoiceSlider
 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< UAudioSaveAudioSaveClass
 

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
 

Detailed Description

Audio setting param widget.

Constructor & Destructor Documentation

◆ UAudioSettingsWidget()

UAudioSettingsWidget::UAudioSettingsWidget ( const FObjectInitializer &  ObjectInitializer)

Member Function Documentation

◆ IsSettingsSaved()

bool UAudioSettingsWidget::IsSettingsSaved ( )
virtual

◆ LoadSettings()

void UAudioSettingsWidget::LoadSettings ( )
virtual

Load settings from save.

◆ NativeConstruct()

void UAudioSettingsWidget::NativeConstruct ( )
overridevirtual

◆ OnApplyPress()

void UAudioSettingsWidget::OnApplyPress ( )
protected

This function only executes when the apply button is pressed.

◆ OnMasterUpdate()

void UAudioSettingsWidget::OnMasterUpdate ( float  Value)
protected

This function only executes when master volume slider is changed.

Parameters
ValueNew value

◆ OnMusicUpdate()

void UAudioSettingsWidget::OnMusicUpdate ( float  Value)
protected

This function only executes when music volume slider is changed.

Parameters
ValueNew value

◆ OnSFXUpdate()

void UAudioSettingsWidget::OnSFXUpdate ( float  Value)
protected

This function only executes when SFX volume slider is changed.

Parameters
ValueNew value

◆ OnVoiceUpdate()

void UAudioSettingsWidget::OnVoiceUpdate ( float  Value)
protected

This function only executes when voice volume slider is changed.

Parameters
ValueNew value

◆ ResetSettings()

void UAudioSettingsWidget::ResetSettings ( )
virtual

◆ SaveSettings()

void UAudioSettingsWidget::SaveSettings ( )
virtual

Save settings to the save class.

◆ SynchronizeProperties()

void UAudioSettingsWidget::SynchronizeProperties ( )
overrideprotectedvirtual

Member Data Documentation

◆ ApplyButton

class UButton* UAudioSettingsWidget::ApplyButton

◆ AudioSaveClass

TSubclassOf<UAudioSave> UAudioSettingsWidget::AudioSaveClass

◆ bInstantApply

bool UAudioSettingsWidget::bInstantApply

Instant settings applly.

◆ MasterSlider

class USliderWidget* UAudioSettingsWidget::MasterSlider

Master Slider

◆ MasterSoundClass

USoundClass* UAudioSettingsWidget::MasterSoundClass

Master Sound Class variable.

◆ MasterVolume

float UAudioSettingsWidget::MasterVolume

Current slider master volume volume.

◆ MusicSlider

class USliderWidget* UAudioSettingsWidget::MusicSlider

Music Slider

◆ MusicSoundClass

USoundClass* UAudioSettingsWidget::MusicSoundClass

Music Sound Class variable.

◆ MusicVolume

float UAudioSettingsWidget::MusicVolume

Music slider master volume volume.

◆ ResetButton

class UButton* UAudioSettingsWidget::ResetButton

◆ SFXSlider

class USliderWidget* UAudioSettingsWidget::SFXSlider

SFX Slider

◆ SFXSoundClass

USoundClass* UAudioSettingsWidget::SFXSoundClass

SFX Sound Class variable.

◆ SFXVolume

float UAudioSettingsWidget::SFXVolume

SFX slider master volume volume.

◆ VoiceSlider

class USliderWidget* UAudioSettingsWidget::VoiceSlider

Voice Slider

◆ VoiceSoundClass

USoundClass* UAudioSettingsWidget::VoiceSoundClass

Voice Sound Class variable.

◆ VoiceVolume

float UAudioSettingsWidget::VoiceVolume

Voice slider master volume volume.