Navigation
API > API/Plugins > API/Plugins/AudioGameplay
Automatic Handler for voices and parameters across any number of AudioComponents
| Name | UAudioComponentGroup |
| Type | class |
| Header File | /Engine/Plugins/AudioGameplay/Source/AudioGameplay/Public/AudioComponentGroup.h |
| Include Path | #include "AudioComponentGroup.h" |
Syntax
UCLASS (MinimalAPI, BlueprintType, DefaultToInstanced)
class UAudioComponentGroup :
public USceneComponent,
public IAudioParameterControllerInterface
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UActorComponent → USceneComponent → UAudioComponentGroup
Implements Interfaces
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UAudioComponentGroup
(
const FObjectInitializer& ObjectInitializer |
AudioComponentGroup.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~UAudioComponentGroup() |
AudioComponentGroup.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| OnKilled | FSoundGroupChanged | AudioComponentGroup.h |
|
|
| OnStopped | FSoundGroupChanged | AudioComponentGroup.h |
|
|
| OnUnvirtualized | FSoundGroupChanged | AudioComponentGroup.h |
|
|
| OnVirtualized | FSoundGroupChanged | AudioComponentGroup.h |
|
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UAudioComponent * AddComponent() |
AudioComponentGroup.h | ||
void AddExtension
(
TScriptInterface< IAudioComponentGroupExtension > NewExtension |
AudioComponentGroup.h |
|
|
void AddExternalComponent
(
UAudioComponent* ComponentToAdd |
Allow an externally created AudioComponent to share parameters with this SoundGroup. | AudioComponentGroup.h |
|
virtual void BeginPlay() |
AudioComponentGroup.h | ||
void BroadcastEvent
(
const FName EventName |
AudioComponentGroup.h |
|
|
void BroadcastKill() |
AudioComponentGroup.h |
|
|
void BroadcastStopAll() |
AudioComponentGroup.h |
|
|
void DisableVirtualization() |
AudioComponentGroup.h |
|
|
void EnableVirtualization() |
AudioComponentGroup.h |
|
|
bool GetBoolParamValue
(
const FName ParamName |
AudioComponentGroup.h |
|
|
float GetFloatParamValue
(
const FName ParamName |
AudioComponentGroup.h |
|
|
UAudioComponent * GetNextAvailableComponent() |
Component interaction. | AudioComponentGroup.h | |
const TArray< FAudioParameter > & GetParams() |
AudioComponentGroup.h | ||
| AudioComponentGroup.h |
|
||
bool IsPlayingAny() |
AudioComponentGroup.h |
|
|
bool IsVirtualized() |
AudioComponentGroup.h |
|
|
void IterateComponents
(
const TFunction< void(UAudioComponent*)> OnIterate |
AudioComponentGroup.h | ||
void RemoveComponent
(
const UAudioComponent* InComponent |
AudioComponentGroup.h | ||
void RemoveExtension
(
TScriptInterface< IAudioComponentGroupExtension > NewExtension |
AudioComponentGroup.h |
|
|
void RemoveExternalComponent
(
UAudioComponent* ComponentToRemove |
AudioComponentGroup.h |
|
|
UAudioComponent * ResetComponent
(
UAudioComponent* Component |
AudioComponentGroup.h | ||
void SetLowPassFilter
(
const float InFrequency |
AudioComponentGroup.h |
|
|
void SetPitchMultiplier
(
const float InPitch |
AudioComponentGroup.h |
|
|
void SetVolumeMultiplier
(
const float InVolume |
AudioComponentGroup.h |
|
|
void StopSound
(
USoundBase* Sound, |
Stop all instances of this Sound on any internal or external components. | AudioComponentGroup.h |
|
void SubscribeToBool
(
const FName ParamName, |
AudioComponentGroup.h |
|
|
void SubscribeToEvent
(
const FName EventName, |
AudioComponentGroup.h |
|
|
void SubscribeToStringParam
(
const FName ParamName, |
AudioComponentGroup.h |
|
|
virtual void TickComponent
(
float DeltaTime, |
AudioComponentGroup.h | ||
void UnsubscribeObject
(
const UObject* Object |
Remove any string, event, and bool subscriptions that are bound to this object | AudioComponentGroup.h |
|
void UpdateExtensions
(
const float DeltaTime |
AudioComponentGroup.h |
Overridden from IAudioParameterControllerInterface
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void ResetParameters() |
AudioComponentGroup.h | ||
| AudioComponentGroup.h | |||
virtual void SetBoolParameter
(
FName InName, |
AudioComponentGroup.h | ||
| AudioComponentGroup.h | |||
virtual void SetFloatParameter
(
FName InName, |
AudioComponentGroup.h | ||
| AudioComponentGroup.h | |||
virtual void SetIntParameter
(
FName InName, |
AudioComponentGroup.h | ||
| AudioComponentGroup.h | |||
| AudioComponentGroup.h | |||
virtual void SetParameter
(
FAudioParameter&& InValue |
AudioComponentGroup.h | ||
virtual void SetParameters
(
TArray< FAudioParameter >&& InValues |
AudioComponentGroup.h | ||
virtual void SetParameters_Blueprint
(
const TArray< FAudioParameter >& InParameters |
AudioComponentGroup.h | ||
| AudioComponentGroup.h | |||
| AudioComponentGroup.h | |||
virtual void SetTriggerParameter
(
FName InName |
AudioComponentGroup.h |
Protected
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void ApplyModifiers
(
UAudioComponent* Component, |
AudioComponentGroup.h | ||
void ApplyParams
(
UAudioComponent* Component |
AudioComponentGroup.h | ||
void ExecuteBoolParamSubscriptions
(
const FAudioParameter& BoolParam |
AudioComponentGroup.h | ||
void ExecuteEventSubscriptions
(
const FName EventName |
AudioComponentGroup.h | ||
void ExecuteStringParamSubscriptions
(
const FAudioParameter& StringParam |
AudioComponentGroup.h | ||
float GetComponentVolume() |
AudioComponentGroup.h | ||
const FAudioParameter * GetParamInternal
(
const FName ParamName |
AudioComponentGroup.h | ||
void UpdateComponentParameters() |
AudioComponentGroup.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static UAudioComponentGroup * StaticGetOrCreateComponentGroup
(
AActor* Actor |
AudioComponentGroup.h |
|