Navigation
API > API/Runtime > API/Runtime/AIModule
Is At Location decorator node. A decorator node that checks if AI controlled pawn is at given location.
| Name | UBTDecorator_IsAtLocation |
| Type | class |
| Header File | /Engine/Source/Runtime/AIModule/Classes/BehaviorTree/Decorators/BTDecorator_IsAtLocation.h |
| Include Path | #include "BehaviorTree/Decorators/BTDecorator_IsAtLocation.h" |
Syntax
UCLASS (MinimalAPI)
class UBTDecorator_IsAtLocation : public UBTDecorator_BlackboardBase
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UBTNode → UBTAuxiliaryNode → UBTDecorator → UBTDecorator_BlackboardBase → UBTDecorator_IsAtLocation
Implements Interfaces
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UBTDecorator_IsAtLocation
(
const FObjectInitializer& ObjectInitializer |
BehaviorTree/Decorators/BTDecorator_IsAtLocation.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| AcceptableRadius | float | Distance threshold to accept as being at location | BehaviorTree/Decorators/BTDecorator_IsAtLocation.h |
|
| bPathFindingBasedTest | FValueOrBBKey_Bool | If true the result will be consistent with tests done while following paths. | BehaviorTree/Decorators/BTDecorator_IsAtLocation.h |
|
| bUseNavAgentGoalLocation | FValueOrBBKey_Bool | If moving to an actor and this actor is a nav agent, then we will move to their nav agent location | BehaviorTree/Decorators/BTDecorator_IsAtLocation.h |
|
| bUseParametrizedRadius | uint32 | BehaviorTree/Decorators/BTDecorator_IsAtLocation.h | ||
| GeometricDistanceType | FAIDistanceType | BehaviorTree/Decorators/BTDecorator_IsAtLocation.h |
|
|
| ParametrizedAcceptableRadius | FAIDataProviderFloatValue | BehaviorTree/Decorators/BTDecorator_IsAtLocation.h |
|
Functions
Public
Overridden from UBTDecorator
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual bool CalculateRawConditionValue
(
UBehaviorTreeComponent& OwnerComp, |
Calculates raw, core value of decorator's condition. Should not include calling IsInversed | BehaviorTree/Decorators/BTDecorator_IsAtLocation.h |
Overridden from UBTNode
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual FName GetNodeIconName() |
Get the name of the icon used to display this node in the editor | BehaviorTree/Decorators/BTDecorator_IsAtLocation.h | |
virtual FString GetStaticDescription() |
BehaviorTree/Decorators/BTDecorator_IsAtLocation.h |
Protected
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FVector::FReal GetGeometricDistanceSquared
(
const FVector& A, |
BehaviorTree/Decorators/BTDecorator_IsAtLocation.h |