UAbilitySystemBlueprintLibrary::GetGameplayCueDirection

Gets the best normalized effect direction for this gameplay cue.

Windows
MacOS
Linux

References

Module

GameplayAbilities

Header

/Engine/Plugins/Runtime/GameplayAbilities/Source/GameplayAbilities/Public/AbilitySystemBlueprintLibrary.h

Include

#include "AbilitySystemBlueprintLibrary.h"

Source

/Engine/Plugins/Runtime/GameplayAbilities/Source/GameplayAbilities/Private/AbilitySystemBlueprintLibrary.cpp

Syntax

[UFUNCTION](Programming/UnrealArchitecture/Reference/Functions)(BlueprintPure, Category="Ability|GameplayCue")
static bool GetGameplayCueDirection
(
    AActor * TargetActor,
    FGameplayCueParameters Parameters,
    FVector & Direction
)

Remarks

Gets the best normalized effect direction for this gameplay cue. This is useful for effects that require the direction of an enemy attack. Returns true if a valid direction could be calculated.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss