Navigation
API > API/Plugins > API/Plugins/GameplayAbilities
Properties that specify how to play a sound effect.
| Name | FGameplayCueNotify_SoundInfo |
| Type | struct |
| Header File | /Engine/Plugins/Runtime/GameplayAbilities/Source/GameplayAbilities/Public/GameplayCueNotifyTypes.h |
| Include Path | #include "GameplayCueNotifyTypes.h" |
Syntax
USTRUCT (BlueprintType )
struct FGameplayCueNotify_SoundInfo
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FGameplayCueNotify_SoundInfo() |
GameplayCueNotifyTypes.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bOverridePlacementInfo | uint32 | If enabled, use the placement info override and not the default one. | GameplayCueNotifyTypes.h |
|
| bOverrideSpawnCondition | uint32 | If enabled, use the spawn condition override and not the default one. | GameplayCueNotifyTypes.h |
|
| bUseSoundParameterInterface | uint32 | If enabled, use the placement info override and not the default one. | GameplayCueNotifyTypes.h |
|
| LoopingFadeOutDuration | float | How long it should take to fade out. Only used on looping gameplay cues. | GameplayCueNotifyTypes.h |
|
| LoopingFadeVolumeLevel | float | The volume level you want the sound to fade out to over the 'Looping Fade Out Duration' before stopping. | GameplayCueNotifyTypes.h |
|
| PlacementInfoOverride | FGameplayCueNotify_PlacementInfo | Defines how the sound will be placed. | GameplayCueNotifyTypes.h |
|
| Sound | TObjectPtr< USoundBase > | Sound to play. | GameplayCueNotifyTypes.h |
|
| SoundCue | TObjectPtr< USoundBase > | GameplayCueNotifyTypes.h |
|
|
| SoundParameterInterfaceInfo | FGameplayCueNotify_SoundParameterInterfaceInfo | Defines how to interface with the sound. | GameplayCueNotifyTypes.h |
|
| SpawnConditionOverride | FGameplayCueNotify_SpawnCondition | Condition to check before playing the sound. | GameplayCueNotifyTypes.h |
|
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool PlaySound
(
const FGameplayCueNotify_SpawnContext& SpawnContext, |
GameplayCueNotifyTypes.h | ||
void ValidateBurstAssets
(
const UObject* ContainingAsset, |
GameplayCueNotifyTypes.h |