Navigation
API > API/Runtime > API/Runtime/AIModule
Default A* node class. Extend this class and pass as a parameter to FGraphAStar for additional functionality
| Name | FGraphAStarDefaultNode |
| Type | struct |
| Header File | /Engine/Source/Runtime/AIModule/Public/GraphAStar.h |
| Include Path | #include "GraphAStar.h" |
Syntax
template<typename TGraph>
struct FGraphAStarDefaultNode
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FGraphAStarDefaultNode
(
const FGraphNodeRef& InNodeRef |
GraphAStar.h |
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| FGraphNodeRef | TGraph::FNodeRef | GraphAStar.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bIsClosed | uint8 | GraphAStar.h | ||
| bIsOpened | uint8 | GraphAStar.h | ||
| NodeRef | const FGraphNodeRef | GraphAStar.h | ||
| ParentNodeIndex | int32 | GraphAStar.h | ||
| ParentRef | FGraphNodeRef | GraphAStar.h | ||
| SearchNodeIndex | int32 | GraphAStar.h | ||
| TotalCost | FVector::FReal | GraphAStar.h | ||
| TraversalCost | FVector::FReal | GraphAStar.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool IsClosed() |
GraphAStar.h | ||
bool IsOpened() |
GraphAStar.h | ||
void MarkClosed() |
GraphAStar.h | ||
void MarkNotClosed() |
GraphAStar.h | ||
void MarkNotOpened() |
GraphAStar.h | ||
void MarkOpened() |
GraphAStar.h |