Navigation
API > API/Plugins > API/Plugins/GameplayAbilities
Reticles allow targeting to be visualized. Tasks can spawn these. Artists/designers can create BPs for these.
| Name | AGameplayAbilityWorldReticle |
| Type | class |
| Header File | /Engine/Plugins/Runtime/GameplayAbilities/Source/GameplayAbilities/Public/Abilities/GameplayAbilityWorldReticle.h |
| Include Path | #include "Abilities/GameplayAbilityWorldReticle.h" |
Syntax
UCLASS (Blueprintable, NotPlaceable, MinimalAPI)
class AGameplayAbilityWorldReticle : public AActor
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → AActor → AGameplayAbilityWorldReticle
Derived Classes
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
AGameplayAbilityWorldReticle
(
const FObjectInitializer& ObjectInitializer |
Abilities/GameplayAbilityWorldReticle.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bFaceOwnerFlat | bool | Makes the reticle's default owner-facing behavior operate in 2D (flat) instead of 3D (pitched). | Abilities/GameplayAbilityWorldReticle.h |
|
| bSnapToTargetedActor | bool | If the target is an actor snap to it's location. | Abilities/GameplayAbilityWorldReticle.h |
|
| Parameters | FWorldReticleParameters | Abilities/GameplayAbilityWorldReticle.h |
|
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void FaceTowardSource
(
bool bFaceIn2D |
Abilities/GameplayAbilityWorldReticle.h |
|
|
void InitializeReticle
(
AGameplayAbilityTargetActor* InTargetingActor, |
Abilities/GameplayAbilityWorldReticle.h | ||
void OnParametersInitialized() |
Abilities/GameplayAbilityWorldReticle.h |
|
|
void OnTargetingAnActor
(
bool bNewValue |
Called whenever bIsTargetAnActor changes value. | Abilities/GameplayAbilityWorldReticle.h |
|
void OnValidTargetChanged
(
bool bNewValue |
Called whenever bIsTargetValid changes value. | Abilities/GameplayAbilityWorldReticle.h |
|
void SetIsTargetAnActor
(
bool bNewValue |
Abilities/GameplayAbilityWorldReticle.h | ||
void SetIsTargetValid
(
bool bNewValue |
Abilities/GameplayAbilityWorldReticle.h | ||
void SetReticleMaterialParamFloat
(
FName ParamName, |
Abilities/GameplayAbilityWorldReticle.h |
|
|
void SetReticleMaterialParamVector
(
FName ParamName, |
Abilities/GameplayAbilityWorldReticle.h |
|
Overridden from AActor
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| Abilities/GameplayAbilityWorldReticle.h | |||
virtual void Tick
(
float DeltaSeconds |
Abilities/GameplayAbilityWorldReticle.h |