![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <GraphAStar.h>
Public Types | |
| typedef TGraph::FNodeRef | FGraphNodeRef |
Public Member Functions | |
| FGraphAStarDefaultNode (const FGraphNodeRef &InNodeRef) | |
| void | MarkOpened () |
| void | MarkNotOpened () |
| void | MarkClosed () |
| void | MarkNotClosed () |
| bool | IsOpened () const |
| bool | IsClosed () const |
Public Attributes | |
| const FGraphNodeRef | NodeRef |
| FGraphNodeRef | ParentRef |
| FVector::FReal | TraversalCost |
| FVector::FReal | TotalCost |
| int32 | SearchNodeIndex |
| int32 | ParentNodeIndex |
| uint8 | bIsOpened: 1 |
| uint8 | bIsClosed: 1 |
Default A* node class. Extend this class and pass as a parameter to FGraphAStar for additional functionality
| typedef TGraph::FNodeRef FGraphAStarDefaultNode< TGraph >::FGraphNodeRef |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
| uint8 FGraphAStarDefaultNode< TGraph >::bIsClosed |
| uint8 FGraphAStarDefaultNode< TGraph >::bIsOpened |
| const FGraphNodeRef FGraphAStarDefaultNode< TGraph >::NodeRef |
| int32 FGraphAStarDefaultNode< TGraph >::ParentNodeIndex |
| FGraphNodeRef FGraphAStarDefaultNode< TGraph >::ParentRef |
| int32 FGraphAStarDefaultNode< TGraph >::SearchNodeIndex |
| FVector::FReal FGraphAStarDefaultNode< TGraph >::TotalCost |
| FVector::FReal FGraphAStarDefaultNode< TGraph >::TraversalCost |