Navigation
API > API/Runtime > API/Runtime/AIModule
Does Path Exist decorator node. A decorator node that bases its condition on whether a path exists between two points from the Blackboard.
| Name | UBTDecorator_DoesPathExist |
| Type | class |
| Header File | /Engine/Source/Runtime/AIModule/Classes/BehaviorTree/Decorators/BTDecorator_DoesPathExist.h |
| Include Path | #include "BehaviorTree/Decorators/BTDecorator_DoesPathExist.h" |
Syntax
UCLASS (MinimalAPI)
class UBTDecorator_DoesPathExist : public UBTDecorator
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UBTNode → UBTAuxiliaryNode → UBTDecorator → UBTDecorator_DoesPathExist
Implements Interfaces
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UBTDecorator_DoesPathExist
(
const FObjectInitializer& ObjectInitializer |
BehaviorTree/Decorators/BTDecorator_DoesPathExist.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bUseSelf | uint32 | Deprecated, set value of blackboard key A on initialization | BehaviorTree/Decorators/BTDecorator_DoesPathExist.h | |
| FilterClass | FValueOrBBKey_Class | "None" will result in default filter being used | BehaviorTree/Decorators/BTDecorator_DoesPathExist.h |
|
| PathQueryType | FValueOrBBKey_Enum | BehaviorTree/Decorators/BTDecorator_DoesPathExist.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_DoesPathExist.h |
Overridden from UBTNode
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual FString GetErrorMessage() |
Validates this node and returns the resulting error message. Empty means no error. | BehaviorTree/Decorators/BTDecorator_DoesPathExist.h | |
virtual FName GetNodeIconName() |
Get the name of the icon used to display this node in the editor | BehaviorTree/Decorators/BTDecorator_DoesPathExist.h | |
virtual FString GetStaticDescription() |
BehaviorTree/Decorators/BTDecorator_DoesPathExist.h | ||
virtual void InitializeFromAsset
(
UBehaviorTree& Asset |
Initialize any asset related data | BehaviorTree/Decorators/BTDecorator_DoesPathExist.h |