FNavRegenTimeSlicer

Choose your operating system:

Windows

macOS

Linux

References

Module

NavigationSystem

Header

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

Include

#include "NavigationSystem.h"

Syntax

class FNavRegenTimeSlicer

Variables

Name Description

Protected variable

bool

 

bTimeSliceFinishedCached

Protected variable

double

 

OriginalDuration

Protected variable

double

 

RemainingDuration

Protected variable

double

 

StartTime

Protected variable

double

 

TimeLastTested

Functions

Name Description

Public function

void

 

EndTimeSliceAndAdjustDuration()

Useful when multiple sections of code need to be timesliced per frame using the same time slice duration that do not necessarily occur concurrently.

Public function Const

double

 

GetRemainingDurationFraction()

Public function Const

double

 

GetStartTime()

Public function Const

bool

 

IsTimeSliceFinishedCached()

Public function

void

 

SetupTimeSlice

(
    double SliceDuration
)

Setup the initial values for a time slice.

Public function

void

 

StartTimeSlice()

Starts the time slice, this can be called multiple times as long as EndTimeSliceAndAdjustDuration() is called between each call.

Public function Const

bool

 

TestTimeSliceFinished()