FGameplayAbilityTargetingLocationInfo::MakeTargetDataHandleFromHitResults

Initializes new target data and fills in with hit results

Choose your operating system:

Windows

macOS

Linux

References

Module

GameplayAbilities

Header

/Engine/Plugins/Runtime/GameplayAbilities/Source/GameplayAbilities/Public/Abilities/GameplayAbilityTargetTypes.h

Include

#include "Abilities/GameplayAbilityTargetTypes.h"

Source

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

Syntax

FGameplayAbilityTargetDataHandle MakeTargetDataHandleFromHitResults
(
    TWeakObjectPtr< UGameplayAbility > Ability,
    const TArray< FHitResult > & HitResults
) const

Remarks

Initializes new target data and fills in with hit results