Navigation
API > API/Plugins > API/Plugins/AudioGameplay
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UActorComponent
- USceneComponent
- UAudioComponentGroup
References
| Module | AudioGameplay |
| Header | /Engine/Plugins/AudioGameplay/Source/AudioGameplay/Public/AudioComponentGroup.h |
| Include | #include "AudioComponentGroup.h" |
Syntax
UCLASS&40;BlueprintType, DefaultToInstanced&41;
class UAudioComponentGroup :
public USceneComponent,
public IAudioParameterControllerInterface
Remarks
Automatic Handler for voices and parameters across any number of AudioComponents
Variables
| Type | Name | Description | |
|---|---|---|---|
| bool | bIsVirtualized | ||
| TMap< FName, TArray< FBoolParamCallback > > | BoolSubscriptions | ||
| FAudioComponentModifier | CachedModifier | Final values set last update | |
| TArray< TObjectPtr< UAudioComponent > > | Components | ||
| TMap< FName, TArray< FSoundCallback > > | EventSubscriptions | ||
| TArray< TScriptInterface< IAudioComponentGroupExtension > > | Extensions | ||
| TArray< TWeakObjectPtr< UAudioComponent > > | ExternalComponents | Components managed externally that won't be used in the pool, but can still share parameters. | |
| FAudioComponentModifier | GroupModifier | Modifier set externally via BP functions. | |
| FSoundGroupChanged | OnKilled | ||
| FSoundGroupChanged | OnStopped | ||
| FSoundGroupChanged | OnUnvirtualized | ||
| FSoundGroupChanged | OnVirtualized | ||
| TArray< FAudioParameter > | ParamsToSet | ||
| TArray< FAudioParameter > | PersistentParams | ||
| TMap< FName, TArray< FStringParamCallback > > | StringSubscriptions |
Constructors
| Type | Name | Description | |
|---|---|---|---|
UAudioComponentGroup
(
const FObjectInitializer& ObjectInitializer |
Destructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| UAudioComponent * | AddComponent () |
||
| void | AddExtension
(
TScriptInterface< IAudioComponentGroupExtension > NewExtension |
||
| void | AddExternalComponent
(
UAudioComponent* ComponentToAdd |
Allow an externally created AudioComponent to share parameters with this SoundGroup. | |
| void | ApplyModifiers
(
UAudioComponent* Component, |
||
| void | ApplyParams
(
UAudioComponent* Component |
||
| void | BroadcastEvent
(
const FName EventName |
||
| void | |||
| void | |||
| void | |||
| void | |||
| void | ExecuteBoolParamSubscriptions
(
const FAudioParameter& BoolParam |
||
| void | ExecuteEventSubscriptions
(
const FName EventName |
||
| void | ExecuteStringParamSubscriptions
(
const FAudioParameter& StringParam |
||
| bool | GetBoolParamValue
(
const FName ParamName |
||
| float | |||
| float | GetFloatParamValue
(
const FName ParamName |
||
| UAudioComponent * | Component interaction. | ||
| const FAudioParameter * | GetParamInternal
(
const FName ParamName |
||
| const TArray< FAudioParameter > & | GetParams () |
||
| FString | GetStringParamValue
(
const FName ParamName |
||
| bool | IsPlayingAny () |
||
| bool | |||
| void | IterateComponents
(
const TFunction< void(UAudioComponent*)> OnIterate |
||
| void | RemoveComponent
(
const UAudioComponent* InComponent |
||
| void | RemoveExtension
(
TScriptInterface< IAudioComponentGroupExtension > NewExtension |
||
| UAudioComponent * | ResetComponent
(
UAudioComponent* Component |
||
| void | SetLowPassFilter
(
const float InFrequency |
||
| void | SetPitchMultiplier
(
const float InPitch |
||
| void | SetVolumeMultiplier
(
const float InVolume |
||
| UAudioComponentGroup * | StaticGetOrCreateComponentGroup
(
AActor* Actor |
||
| void | StopSound
(
USoundBase* Sound, |
Stop all instances of this Sound on any internal or external components. | |
| void | SubscribeToBool
(
const FName ParamName, |
||
| void | SubscribeToEvent
(
const FName EventName, |
||
| void | SubscribeToStringParam
(
const FName ParamName, |
||
| void | UnsubscribeObject
(
const UObject* Object |
Remove any string, event, and bool subscriptions that are bound to this object | |
| void | |||
| void | UpdateExtensions
(
const float DeltaTime |
Overridden from UActorComponent
| Type | Name | Description | |
|---|---|---|---|
| void | BeginPlay () |
Begins Play for the component. | |
| void | TickComponent
(
float DeltaTime, |
Function called every frame on this ActorComponent. |
Overridden from IAudioParameterControllerInterface
| Type | Name | Description | |
|---|---|---|---|
| void | Resets all parameters to their original values. | ||
| void | SetBoolArrayParameter
(
FName InName, |
Sets a named Boolean Array. | |
| void | SetBoolParameter
(
FName InName, |
Sets a named Boolean. | |
| void | SetFloatArrayParameter
(
FName InName, |
Sets a named Float Array. | |
| void | SetFloatParameter
(
FName InName, |
Sets a named Float. | |
| void | SetIntArrayParameter
(
FName InName, |
Sets a named Int32 Array. | |
| void | SetIntParameter
(
FName InName, |
Sets a named Int32. | |
| void | SetObjectArrayParameter
(
FName InName, |
Sets a named UObject Array. | |
| void | SetObjectParameter
(
FName InName, |
Sets a named UObject. | |
| void | SetParameter
(
FAudioParameter&& InValue |
Sets a named parameter to the given parameter structure value. | |
| void | SetParameters
(
TArray< FAudioParameter >&& InValues |
Sets an array of parameters as a batch. | |
| void | SetParameters_Blueprint
(
const TArray< FAudioParameter >& InParameters |
Sets an array of parameters as a batch. | |
| void | SetStringArrayParameter
(
FName InName, |
Sets a named String Array. | |
| void | SetStringParameter
(
FName InName, |
Sets a named String. | |
| void | SetTriggerParameter
(
FName InName |
Executes a named trigger. |