Navigation
Unreal Engine C++ API Reference > Runtime > NavigationSystem
References
Module | NavigationSystem |
Header | /Engine/Source/Runtime/NavigationSystem/Public/NavigationSystem.h |
Include | #include "NavigationSystem.h" |
Syntax
class FNavRegenTimeSliceManager
Variables
Type | Name | Description | |
---|---|---|---|
![]() |
bool | bDoTimeSlicedUpdate | |
![]() |
uint64 | FrameNumOld | |
![]() |
float | MaxDesiredTileRegenDuration | The max real world desired time to Regen all the tiles in PendingDirtyTiles, Note it could take longer than this, as the time slice is clamped per frame between MinTimeSliceDuration and MaxTimeSliceDuration. |
![]() |
double | MaxTimeSliceDuration | The max Desired Time Slice Duration |
![]() |
double | MinTimeSliceDuration | If there are enough tiles to process this in the Min Time Slice Duration |
![]() |
FMovingWindowAverageFast< double, 256 > | MovingWindowDeltaTime | Used to calculate the actual moving window delta time |
![]() |
FMovingWindowAverageFast< double, 256 > | MovingWindowTileRegenTime | Used to calculate the moving window average of the actual time spent inside functions used to regenerate a tile, this is processing time not actual time over multiple frames |
![]() |
int32 | NavDataIdx | |
![]() |
TArray< TArray< FTileHistoryData > > | TileHistoryData | Tile processing time per NavDataIndex |
![]() |
TArray< TArray< double > > | TileWaitTimes | Average tile wait time per NavDataIndex |
![]() |
double | TimeLastCall | |
![]() |
FNavRegenTimeSlicer | TimeSlicer |
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
Functions
Type | Name | Description | |
---|---|---|---|
![]() |
void | CalcAverageDeltaTime
(
uint64 FrameNum |
|
![]() |
void | CalcTimeSliceDuration
(
const TArray< TObjectPtr< ANavigationData >>& NavDataSet, |
|
![]() ![]() |
bool | ||
![]() ![]() |
double | ||
![]() ![]() |
double | ||
![]() ![]() |
double | GetAverageTileWaitTime
(
const int32 NavDataIndex |
|
![]() ![]() |
int32 | ||
![]() |
FNavRegenTimeSlicer & | ||
![]() ![]() |
const FNavRegenTimeSlicer & | ||
![]() ![]() |
void | LogTileStatistics
(
const TArray< TObjectPtr< ANavigationData >>& NavDataSet |
|
![]() |
void | PushTileHistoryData
(
const int32 NavDataIndex, |
|
![]() |
void | PushTileRegenTime
(
double NewTime |
|
![]() |
void | PushTileWaitTime
(
const int32 NavDataIndex, |
|
![]() |
void | ResetTileHistoryData
(
const TArray< TObjectPtr< ANavigationData >>& NavDataSet |
|
![]() |
void | ResetTileWaitTime
(
const int32 NavDataIndex |
|
![]() |
void | ResetTileWaitTimeArrays
(
const TArray< TObjectPtr< ANavigationData >>& NavDataSet |
|
![]() |
void | SetMaxDesiredTileRegenDuration
(
float NewMaxDesiredTileRegenDuration |
|
![]() |
void | SetMaxTimeSliceDuration
(
double NewMaxTimeSliceDuration |
|
![]() |
void | SetMinTimeSliceDuration
(
double NewMinTimeSliceDuration |
|
![]() |
void | SetNavDataIdx
(
int32 InNavDataIdx |