Navigation
API > API/Plugins > API/Plugins/GameplayAbilities
FGameplayCueNotify_ForceFeedbackInfo
Properties that specify how to play a force feedback effect.
| Name | FGameplayCueNotify_ForceFeedbackInfo |
| Type | struct |
| Header File | /Engine/Plugins/Runtime/GameplayAbilities/Source/GameplayAbilities/Public/GameplayCueNotifyTypes.h |
| Include Path | #include "GameplayCueNotifyTypes.h" |
Syntax
USTRUCT (BlueprintType )
struct FGameplayCueNotify_ForceFeedbackInfo
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FGameplayCueNotify_ForceFeedbackInfo() |
GameplayCueNotifyTypes.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bIsLooping | uint32 | If enabled, the force feedback will be set to loop. | GameplayCueNotifyTypes.h |
|
| 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 |
|
| bPlayInWorld | uint32 | If enabled, the force feedback will be played in the world and affect all players. | GameplayCueNotifyTypes.h |
|
| ForceFeedbackEffect | TObjectPtr< UForceFeedbackEffect > | Force feedback effect to play. | GameplayCueNotifyTypes.h |
|
| ForceFeedbackTag | FName | Tag used to identify the force feedback effect so it can later be canceled. | GameplayCueNotifyTypes.h |
|
| PlacementInfoOverride | FGameplayCueNotify_PlacementInfo | Defines how the force feedback will be placed. | GameplayCueNotifyTypes.h |
|
| SpawnConditionOverride | FGameplayCueNotify_SpawnCondition | Condition to check before playing the force feedback. | GameplayCueNotifyTypes.h |
|
| WorldAttenuation | TObjectPtr< UForceFeedbackAttenuation > | How the force feedback is attenuated over distance when played in world. | GameplayCueNotifyTypes.h |
|
| WorldIntensity | float | Multiplier applied to the force feedback when played in world. | GameplayCueNotifyTypes.h |
|
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool PlayForceFeedback
(
const FGameplayCueNotify_SpawnContext& SpawnContext, |
GameplayCueNotifyTypes.h | ||
void ValidateBurstAssets
(
const UObject* ContainingAsset, |
GameplayCueNotifyTypes.h |