Navigation
API > API/Plugins > API/Plugins/PCG
| Name | FSearchState |
| Type | struct |
| Header File | /Engine/Plugins/PCG/Source/PCG/Public/SpatialAlgo/PCGAStar.h |
| Include Path | #include "SpatialAlgo/PCGAStar.h" |
Syntax
struct FSearchState
Constants
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| PreAllocNodeCount | uint32 constexpr | SpatialAlgo/PCGAStar.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| ClosedIndexList | TArray< int32, TInlineAllocator< PreAllocNodeCount > > | Nodes that are no longer viable. | SpatialAlgo/PCGAStar.h | |
| CostFunction | TFunction< double(const double, const FPCGPoint *, const double, const FPCGPoint *)> | Cost function | SpatialAlgo/PCGAStar.h | |
| HeuristicFunction | TFunction< double(const FVector &, const FVector &)> | Heuristic function | SpatialAlgo/PCGAStar.h | |
| NodeList | TArray< FNode, TInlineAllocator< PreAllocNodeCount > > | Storage of the current known node. | SpatialAlgo/PCGAStar.h | |
| OpenIndexList | TArray< int32, TInlineAllocator< PreAllocNodeCount > > | Used as a priority list of nodes, sorted by cost. | SpatialAlgo/PCGAStar.h | |
| OriginatingPointData | const UPCGPointData * | Keep track of the point data for the octree search. | SpatialAlgo/PCGAStar.h | |
| PointToNodeIndexMap | TMap< const FPCGPoint *, int32 > | To track nodes to their corresponding points. | SpatialAlgo/PCGAStar.h |