Manager that provides functionality for managing VOs and Hint VOs. To use this class you must attach data table to StepVODataTable, struct for the data table is FSteVO.
More...
#include <SoundManager.h>
Manager that provides functionality for managing VOs and Hint VOs. To use this class you must attach data table to StepVODataTable, struct for the data table is FSteVO.
UCLASS(Blueprintable)
Definition at line 93 of file SoundManager.h.
◆ THandler
◆ THandlerKey
◆ THandlers
◆ USoundManager()
USoundManager::USoundManager |
( |
| ) |
|
◆ DECLARE_EVENT_HANDLER() [1/5]
◆ DECLARE_EVENT_HANDLER() [2/5]
◆ DECLARE_EVENT_HANDLER() [3/5]
◆ DECLARE_EVENT_HANDLER() [4/5]
◆ DECLARE_EVENT_HANDLER() [5/5]
◆ GENERATED_BODY()
USoundManager::GENERATED_BODY |
( |
| ) |
|
|
private |
◆ GetPrivateOwner()
◆ GetSoundBasedOnStep()
USoundCue * USoundManager::GetSoundBasedOnStep |
( |
FText | stepName, |
|
|
UDataTable * | DataTable ) |
|
BlueprintCallable |
Retrieves a sound cue based on the step name.
- Parameters
-
stepName | The name of the step. |
DataTable | The data table containing the sound cues. |
- Returns
- The sound cue associated with the step name.
UFUNCTION(BlueprintCallable)
Definition at line 23 of file SoundManager.cpp.
◆ HandleEvent()
void UBaseManager::HandleEvent |
( |
UBaseEvent * | Event | ) |
|
|
inherited |
◆ HandleEvent_Impl()
void UBaseManager::HandleEvent_Impl |
( |
class UBaseEvent * | Event | ) |
|
|
protectedinherited |
◆ OnAudioEndPlaying()
void USoundManager::OnAudioEndPlaying |
( |
| ) |
|
Called when audio playback ends.
UFUNCTION()
Definition at line 62 of file SoundManager.cpp.
◆ OnStepChange()
void USoundManager::OnStepChange |
( |
FText | stepName | ) |
|
|
BlueprintCallable |
Play sound based on the new step.
- Parameters
-
stepName | The name of the new step. |
UFUNCTION(BlueprintCallable)
Definition at line 57 of file SoundManager.cpp.
◆ PlaySound()
void USoundManager::PlaySound |
( |
USoundCue * | soundToPlay | ) |
|
|
BlueprintCallable |
◆ SendEvent()
template<typename TEventType , typename... TInitializeArgs>
void UBaseManager::SendEvent |
( |
TInitializeArgs... | Arguments | ) |
|
|
inlineinherited |
◆ SetPrivateOwner()
◆ ActiveSound
USoundCue* USoundManager::ActiveSound |
|
protected |
◆ AudioComponent
UAudioComponent* USoundManager::AudioComponent |
|
BlueprintReadWrite |
UPROPERTY(BlueprintReadWrite, Category = "Components")
Audio component used for playing sounds.
Definition at line 145 of file SoundManager.h.
◆ CurrentStep
FText USoundManager::CurrentStep |
|
protected |
◆ CurrentStepHintVODataTable
UDataTable* USoundManager::CurrentStepHintVODataTable |
|
BlueprintReadWrite |
UPROPERTY(BlueprintReadWrite, Category = "Components")
Data table for the current story with step hint voice-over (VO) data.
Definition at line 174 of file SoundManager.h.
◆ CurrentStepVODataTable
UDataTable* USoundManager::CurrentStepVODataTable |
|
BlueprintReadWrite |
UPROPERTY(BlueprintReadWrite, Category = "Components")
Data table for the current story with step voice-over (VO) data.
Definition at line 169 of file SoundManager.h.
◆ Handlers
◆ OnVoEndPlaying
FOnVOEndPlaying USoundManager::OnVoEndPlaying |
|
BlueprintAssignable |
UPROPERTY(BlueprintAssignable)
Delegate called when voice-over (VO) playback ends.
Definition at line 179 of file SoundManager.h.
◆ PrivateOwner
◆ SoundManagerParametersData
|
BlueprintReadWriteEditAnywhere |
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "SoundManager")
Data object containing parameters for the Sound Manager. Setup this data asset if you want to have different params depending on story.
Definition at line 163 of file SoundManager.h.
◆ StepHintVODataTablesArray
TArray<UDataTable*> USoundManager::StepHintVODataTablesArray |
|
BlueprintReadWriteEditAnywhere |
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Components")
Array of step hint voice-over (VO) data tables for each story.
Definition at line 157 of file SoundManager.h.
◆ StepVODataTablesArray
TArray<UDataTable*> USoundManager::StepVODataTablesArray |
|
BlueprintReadWriteEditAnywhere |
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Components")
Array of step voice-over (VO) data tables for each story.
Definition at line 151 of file SoundManager.h.
The documentation for this class was generated from the following files:
- SDKDemo/Plugins/UnrealEngineSDK/PixoCore/Source/PixoCore/Public/Managers/SoundManager.h
- SDKDemo/Plugins/UnrealEngineSDK/PixoCore/Source/PixoCore/Private/Managers/SoundManager.cpp