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