FNavRegenTimeSliceManager

Windows
MacOS
Linux

References

Module

NavigationSystem

Header

/Engine/Source/Runtime/NavigationSystem/Public/NavigationSystem.h

Include

#include "NavigationSystem.h"

Syntax

class FNavRegenTimeSliceManager

Variables

Name Description

Protected variable

bool

 

bDoTimeSlicedUpdate

Protected variable

uint64

 

FrameNumOld

Protected variable

float

 

MaxDesiredTileRegenDuration

The max real world desired time to Regen all the tiles in PendingDirtyTiles,

Protected variable

double

 

MaxTimeSliceDuration

The max Desired Time Slice Duration

Protected variable

double

 

MinTimeSliceDuration

If there are enough tiles to process this in the Min Time Slice Duration

Protected variable

FMovingWindowAv...

 

MovingWindowDeltaTime

Used to calculate the actual moving window delta time

Protected variable

FMovingWindowAv...

 

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

Protected variable

int32

 

NavDataIdx

Protected variable

double

 

TimeLastCall

Protected variable

FNavRegenTimeSl...

 

TimeSlicer

Constructors

Name Description

Public function

FNavRegenTimeSliceManager()

Functions

Name Description

Public function

void

 

CalcAverageDeltaTime

(
    uint64 FrameNum
)

Public function

void

 

CalcTimeSliceDuration

(
    int32 NumTilesToRegen,
    const TArray< double >& CurrentTil...
)

Public function Const

bool

 

DoTimeSlicedUpdate()

Public function Const

double

 

GetAverageDeltaTime()

Public function Const

double

 

GetAverageTileRegenTime()

Public function Const

int32

 

GetNavDataIdx()

Public function

FNavRegenTim...

 

GetTimeSlicer()

Public function Const

const FNavRe...

 

GetTimeSlicer()

Public function

void

 

PushTileRegenTime

(
    double NewTime
)

Public function

void

 

SetMaxDesiredTileRegenDuration

(
    float NewMaxDesiredTileRegenDuratio...
)

Public function

void

 

SetMaxTimeSliceDuration

(
    double NewMaxTimeSliceDuration
)

Public function

void

 

SetMinTimeSliceDuration

(
    double NewMinTimeSliceDuration
)

Public function

void

 

SetNavDataIdx

(
    int32 InNavDataIdx
)

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss