Navigation
API > API/Plugins > API/Plugins/TargetingSystem
Stores context information about a targeting request.
| Name | FTargetingSourceContext |
| Type | struct |
| Header File | /Engine/Plugins/Experimental/GameplayTargetingSystem/Source/GameplayTargetingSystem/Public/Types/TargetingSystemTypes.h |
| Include Path | #include "Types/TargetingSystemTypes.h" |
Syntax
USTRUCT (BlueprintType )
struct FTargetingSourceContext
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| InstigatorActor | TObjectPtr< AActor > | The optional instigator the targeting request is owned by (i.e. owner of a projectile) | Types/TargetingSystemTypes.h |
|
| SourceActor | TObjectPtr< AActor > | The optional actor the targeting request sources from (i.e. player/projectile/etc) | Types/TargetingSystemTypes.h |
|
| SourceLocation | FVector | The optional location the targeting request will source from (i.e. do AOE targeting at x/y/z location) | Types/TargetingSystemTypes.h |
|
| SourceObject | TObjectPtr< UObject > | The optional reference to a source uobject to use in the context | Types/TargetingSystemTypes.h |
|
| SourceSocketName | FName | The optional socket name to use on the source actor (if an actor is defined) | Types/TargetingSystemTypes.h |
|
Functions
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static FTargetingSourceContext * Find
(
FTargetingRequestHandle Handle |
Types/TargetingSystemTypes.h | ||
static FTargetingSourceContext & FindOrAdd
(
FTargetingRequestHandle Handle |
Convenience method to make using the global data store easier | Types/TargetingSystemTypes.h |