Choose your operating system:
Windows
macOS
Linux
Module |
|
Header |
/Engine/Plugins/Runtime/GameplayAbilities/Source/GameplayAbilities/Public/GameplayCueNotifyTypes.h |
Include |
#include "GameplayCueNotifyTypes.h" |
USTRUCT(BlueprintType)
struct FGameplayCueNotify_SoundInfo
Properties that specify how to play a sound effect.
Name | Description | ||
---|---|---|---|
|
uint32: 1 |
bOverridePlacementInfo |
If enabled, use the placement info override and not the default one. |
|
uint32: 1 |
bOverrideSpawnCondition |
If enabled, use the spawn condition override and not the default one. |
|
uint32: 1 |
bUseSoundParameterInterface |
If enabled, use the placement info override and not the default one. |
|
float |
LoopingFadeOutDuration |
How long it should take to fade out. Only used on looping gameplay cues. |
|
float |
LoopingFadeVolumeLevel |
The volume level you want the sound to fade out to over the 'Looping Fade Out Duration' before stopping. |
|
PlacementInfoOverride |
Defines how the sound will be placed. |
|
|
USoundBase *... |
SoundCue |
Sound to play. |
|
SoundParameterInterfaceInfo |
Defines how to interface with the sound. |
|
|
SpawnConditionOverride |
Condition to check before playing the sound. |
Name | Description | |
---|---|---|
|
FGameplayCueNotify_SoundInfo() |
Name | Description | ||
---|---|---|---|
|
PlaySound ( |
||
|
ValidateBurstAssets |