UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
FCombinedNavGridData Struct Reference

#include <NavLocalGridManager.h>

+ Inheritance diagram for FCombinedNavGridData:

Public Member Functions

 FCombinedNavGridData ()
 
 FCombinedNavGridData (const TArray< FNavLocalGridData > &SourceGrids)
 
- Public Member Functions inherited from FNavLocalGridData
 FNavLocalGridData ()
 
AIMODULE_API FNavLocalGridData (const FVector &Center, float Extent2D)
 
AIMODULE_API FNavLocalGridData (const FVector &Center, const FVector2D &Extent2D)
 
AIMODULE_API FNavLocalGridData (const TArray< FNavLocalGridData > &SourceGrids)
 
AIMODULE_API void MarkPointObstacle (const FVector &Center)
 
AIMODULE_API void MarkBoxObstacle (const FVector &Center, const FVector &Extent, const FQuat &Quat=FQuat::Identity)
 
AIMODULE_API void MarkCapsuleObstacle (const FVector &Center, float Radius, float HalfHeight)
 
AIMODULE_API void SetHeight (float ExtentZ)
 
const int32 GetGridId () const
 
bool HasObstacleUnsafe (int32 LocationX, int32 LocationY) const
 
FIntVector GetGlobalCoords (int32 CellIdx) const
 
AIMODULE_API int32 GetCellIndexFromGlobalCoords2D (const FIntVector &WorldCoords) const
 
FVector GetProjectedCellCenter (int32 CellIdx) const
 
FVector GetProjectedCellCenter (int32 LocationX, int32 LocationY) const
 
AIMODULE_API void FindPathForMovingAgent (const FNavigationPath &SourcePath, const FVector &EntryLocation, int32 EntrySegmentStart, TArray< FVector > &PathPointsInside, int32 &NextSegmentStart) const
 
AIMODULE_API bool FindPath (const FIntVector &StartCoords, const FIntVector &EndCoords, TArray< FIntVector > &PathCoords) const
 
AIMODULE_API void ProjectCells (const ANavigationData &NavData)
 
int32 GetNeighbourCount (FNodeRef NodeRef) const
 
bool IsValidRef (FNodeRef NodeRef) const
 
AIMODULE_API FNodeRef GetNeighbour (const FNodeRef NodeRef, const int32 NeiIndex) const
 
- Public Member Functions inherited from TSimpleCellGrid< uint8, MAX_uint8 >
 TSimpleCellGrid ()
 
bool Init (const float InCellSize, const FBox &Bounds)
 
bool Init (const float InCellSize, const FGridSize2D &InGridSize, const FVector &InOrigin, const float VerticalBoundSize)
 
void SetVerticalInterval (const FFloatInterval &VerticalInterval)
 
void UpdateWorldBounds ()
 
bool IsValid () const
 
bool IsValidIndex (const int32 CellIndex) const
 
bool IsValidCoord (int32 LocationX, int32 LocationY) const
 
bool IsValidCoord (const FIntVector &CellCoords) const
 
uint32 GetAllocatedSize () const
 
FIntVector GetCellCoordsUnsafe (const FVector &WorldLocation) const
 
FIntVector GetCellCoords (const FVector &WorldLocation) const
 
FIntVector GetCellCoords (int32 CellIndex) const
 
int32 GetCellCoordX (int32 CellIndex) const
 
int32 GetCellCoordY (int32 CellIndex) const
 
int32 GetCellIndexUnsafe (const FVector &WorldLocation) const
 
int32 GetCellIndexUnsafe (const FIntVector &CellCoords) const
 
int32 GetCellIndexUnsafe (int32 LocationX, int32 LocationY) const
 
int32 GetCellIndex (int32 LocationX, int32 LocationY) const
 
int32 GetCellIndex (const FVector &WorldLocation) const
 
FBox GetWorldCellBox (int32 CellIndex) const
 
FBox GetWorldCellBox (int32 LocationX, int32 LocationY) const
 
FBox2D GetWorldCellBox2D (int32 CellIndex) const
 
FBox2D GetWorldCellBox2D (int32 LocationX, int32 LocationY) const
 
FBox GetWorldCellRectangleBox (const FIntRect &CellRect) const
 
FIntRect GetCellRectangleFromBox (const FBox &WorldBox) const
 
FIntRect GetGridRectangle () const
 
FVector GetWorldCellCenter (int32 CellIndex) const
 
FVector GetWorldCellCenter (int32 LocationX, int32 LocationY) const
 
const FCellTypeGetCellAtWorldLocationUnsafe (const FVector &WorldLocation) const
 
const FCellTypeGetCellAtWorldLocation (const FVector &WorldLocation) const
 
FCellTypeoperator[] (int32 CellIndex)
 
const FCellTypeoperator[] (int32 CellIndex) const
 
FCellTypeGetCellAtIndexUnsafe (int32 CellIndex)
 
const FCellTypeGetCellAtIndexUnsafe (int32 CellIndex) const
 
FCellTypeGetCellAtCoordsUnsafe (int32 LocationX, int32 LocationY)
 
const FCellTypeGetCellAtCoordsUnsafe (int32 LocationX, int32 LocationY) const
 
int32 GetCellsCount () const
 
int32 Num () const
 
void Serialize (FArchive &Ar)
 
void AllocateMemory ()
 
void FreeMemory ()
 
void Zero ()
 
void CleanUp ()
 

Public Attributes

TArray< int32SourceIds
 
- Public Attributes inherited from TSimpleCellGrid< uint8, MAX_uint8 >
float GridCellSize
 
FBox WorldBounds
 
FVector Origin
 
FVector BoundsSize
 
FGridSize2D GridSize
 

Additional Inherited Members

- Public Types inherited from FNavLocalGridData
typedef int32 FNodeRef
 
- Public Types inherited from TSimpleCellGrid< uint8, MAX_uint8 >
typedef uint8 FCellType
 
- Protected Member Functions inherited from FNavLocalGridData
AIMODULE_API void PostProcessPath (const FIntVector &StartCoords, const FIntVector &EndCoords, const TArray< int32 > &PathIndices, TArray< FIntVector > &PathCoords) const
 
AIMODULE_API bool IsLineObstructed (const FIntVector &StartCoords, const FIntVector &EndCoords) const
 
AIMODULE_API void SetGridId (int32 NewId)
 
- Protected Attributes inherited from FNavLocalGridData
TArray< FVector::FRealCellZ
 
double LastAccessTime
 
- Protected Attributes inherited from TSimpleCellGrid< uint8, MAX_uint8 >
TArray< FCellTypeCells
 

Constructor & Destructor Documentation

◆ FCombinedNavGridData() [1/2]

FCombinedNavGridData::FCombinedNavGridData ( )
inline

◆ FCombinedNavGridData() [2/2]

FCombinedNavGridData::FCombinedNavGridData ( const TArray< FNavLocalGridData > &  SourceGrids)
inline

Member Data Documentation

◆ SourceIds

TArray<int32> FCombinedNavGridData::SourceIds

The documentation for this struct was generated from the following file: