AGameplayAbilityTargetActor_GroundTrace

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

References

Module

GameplayAbilities

Header

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

Include

#include "Abilities/GameplayAbilityTargetActor_GroundTrace.h"

Syntax

UCLASS(Blueprintable)
class AGameplayAbilityTargetActor_GroundTrace : public AGameplayAbilityTargetActor_Trace

Variables

Name Description

Protected variable

bool

 

bLastTraceWasGood

Public variable UProperty Category, EditAnywhere, Meta BlueprintReadWrite

float

 

CollisionHeight

Height for a capsule. Implicitly indicates a capsule is desired if this is greater than zero.

Protected variable

float

 

CollisionHeightOffset

Public variable UProperty Category, EditAnywhere, Meta BlueprintReadWrite

float

 

CollisionRadius

Radius for a sphere or capsule.

Protected variable

FCollisionShape

 

CollisionShape

Constructors

Name Description

Public function

AGameplayAbilityTargetActor_GroundTrace

(
    const FObjectInitializer& ObjectIn...
)

Functions

Name Description

Protected function Const

bool

 

AdjustCollisionResultForShape

(
    const FVector OriginalStartPoint,
    const FVector OriginalEndPoint,
    const FCollisionQueryParams Params,
    FHitResult& OutHitResult
)

Overridden from AGameplayAbilityTargetActor_Trace

Name Description

Protected function Virtual

FHitResult

 

PerformTrace

(
    AActor* InSourceActor
)

Overridden from AGameplayAbilityTargetActor

Name Description

Protected function Virtual

bool

 

IsConfirmTargetingAllowed()

Public function Virtual

void

 

StartTargeting

(
    UGameplayAbility* Ability
)

Initialize and begin targeting logic