Navigation
API > API/Plugins > API/Plugins/TargetingSystem
Basic AOE based selection task. There are 4 shape types to choose from + a custom option.
Box - Defined by a given half extent Cylinder - Defined by the half extent (box) + radius Sphere - Defined by a given radius Capsule - Defined by the radius + half height
SourceComponent - Use a collision component with a specific component tag as the shape
| Name | UTargetingSelectionTask_AOE |
| Type | class |
| Header File | /Engine/Plugins/Experimental/GameplayTargetingSystem/Source/GameplayTargetingSystem/Public/Tasks/TargetingSelectionTask_AOE.h |
| Include Path | #include "Tasks/TargetingSelectionTask_AOE.h" |
Syntax
UCLASS (MinimalAPI, Blueprintable)
class UTargetingSelectionTask_AOE : public UTargetingTask
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UTargetingTask → UTargetingSelectionTask_AOE
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UTargetingSelectionTask_AOE
(
const FObjectInitializer& ObjectInitializer |
Tasks/TargetingSelectionTask_AOE.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void DebugDrawBoundingVolume
(
const FTargetingRequestHandle& TargetingHandle, |
Debug draws the outlines of the set shape type. | Tasks/TargetingSelectionTask_AOE.h | |
void SetHalfExtent
(
FVector InHalfExtent |
Tasks/TargetingSelectionTask_AOE.h | ||
void SetHalfHeight
(
FScalableFloat InHalfHeight |
Tasks/TargetingSelectionTask_AOE.h | ||
void SetRadius
(
FScalableFloat InRadius |
Tasks/TargetingSelectionTask_AOE.h | ||
void SetShapeType
(
ETargetingAOEShape InShapeType |
Tasks/TargetingSelectionTask_AOE.h |
Overridden from UTargetingTask
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void Execute
(
const FTargetingRequestHandle& TargetingHandle |
Evaluation function called by derived classes to process the targeting request | Tasks/TargetingSelectionTask_AOE.h |
Protected
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FVector GetSourceLocation
(
const FTargetingRequestHandle& TargetingHandle |
Native Event to get the source location for the AOE | Tasks/TargetingSelectionTask_AOE.h |
|
FVector GetSourceOffset
(
const FTargetingRequestHandle& TargetingHandle |
Native Event to get a source location offset for the AOE | Tasks/TargetingSelectionTask_AOE.h |
|
FQuat GetSourceRotation
(
const FTargetingRequestHandle& TargetingHandle |
Native event to get the source rotation for the AOE | Tasks/TargetingSelectionTask_AOE.h |
|
FRotator GetSourceRotationOffset
(
const FTargetingRequestHandle& TargetingHandle |
Native Event to get a source rotation offset for the AOE | Tasks/TargetingSelectionTask_AOE.h |
|
Overridden from UObject
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual bool CanEditChange
(
const FProperty* InProperty |
Tasks/TargetingSelectionTask_AOE.h | ||
virtual void PostEditChangeProperty
(
FPropertyChangedEvent& PropertyChangedEvent |
Tasks/TargetingSelectionTask_AOE.h |