Navigation
API > API/Plugins > API/Plugins/AudioGameplay
UAudioParameterComponent - Can be used to set/store audio parameters and automatically dispatch them (through ActorSoundParameterInterface) to any sounds played by the component's Owner Actor
| Name | UAudioParameterComponent |
| Type | class |
| Header File | /Engine/Plugins/AudioGameplay/Source/AudioGameplay/Public/AudioParameterComponent.h |
| Include Path | #include "AudioParameterComponent.h" |
Syntax
UCLASS (MinimalAPI, BlueprintType,
HideCategories=(Object, ActorComponent, Physics, Rendering, Mobility, LOD),
Meta=(BlueprintSpawnableComponent))
class UAudioParameterComponent :
public UAudioGameplayComponent ,
public IAudioParameterControllerInterface ,
public IActorSoundParameterInterface
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UActorComponent → UAudioGameplayComponent → UAudioParameterComponent
Implements Interfaces
- IAudioParameterControllerInterface
- IInterface
- IAsyncPhysicsStateProcessor
- IInterface_AssetUserData
- IActorSoundParameterInterface
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| OnParameterChanged | FOnParameterChanged | End IAudioParameterControllerInterface | AudioParameterComponent.h |
|
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| ActiveComponents | TArray< TWeakObjectPtr< UAudioComponent > > | AudioParameterComponent.h |
|
|
| Parameters | TArray< FAudioParameter > | AudioParameterComponent.h |
|
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void GetActorSoundParams_Implementation
(
TArray< FAudioParameter >& Params |
Begin IActorSoundParameterInterface | AudioParameterComponent.h | |
const TArray< FAudioParameter > & GetParameters() |
AudioParameterComponent.h |
|
Overridden from IAudioParameterControllerInterface
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void ResetParameters() |
End IActorSoundParameterInterface Begin IAudioParameterControllerInterface | AudioParameterComponent.h | |
| AudioParameterComponent.h | |||
virtual void SetBoolParameter
(
FName InName, |
AudioParameterComponent.h | ||
| AudioParameterComponent.h | |||
virtual void SetFloatParameter
(
FName InName, |
AudioParameterComponent.h | ||
| AudioParameterComponent.h | |||
virtual void SetIntParameter
(
FName InName, |
AudioParameterComponent.h | ||
| AudioParameterComponent.h | |||
| AudioParameterComponent.h | |||
virtual void SetParameter
(
FAudioParameter&& InValue |
AudioParameterComponent.h | ||
virtual void SetParameters
(
TArray< FAudioParameter >&& InValues |
AudioParameterComponent.h | ||
virtual void SetParameters_Blueprint
(
const TArray< FAudioParameter >& InParameters |
AudioParameterComponent.h | ||
| AudioParameterComponent.h | |||
virtual void SetStringParameter
(
FName InName, |
AudioParameterComponent.h | ||
virtual void SetTriggerParameter
(
FName InName |
AudioParameterComponent.h |