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 FNavRegenTimeSlicer
Variables
Type | Name | Description | |
---|---|---|---|
![]() |
bool | bTimeSliceFinishedCached | |
![]() |
double | DebugLongTimeSliceDuration | |
![]() |
TFunction< void(FName, double)> | DebugLongTimeSliceFunction | |
![]() |
FName | DebugSectionName | |
![]() |
double | OriginalDuration | |
![]() |
double | RemainingDuration | |
![]() |
double | StartTime | |
![]() |
double | TimeLastTested |
Functions
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
void | ||
![]() ![]() |
void | DebugSetLongTimeSliceData
(
TFunction< void(FName, double)> LongTimeSliceFunction, |
Sets data used for debugging time slices that are taking too long to process. |
![]() ![]() |
void | DebugSetSectionName
(
FName InDebugSectionName |
Sets the debug name for a time sliced section of code. |
![]() |
void | Useful when multiple sections of code need to be timesliced per frame using the same time slice duration that do not necessarily occur concurrently. | |
![]() ![]() |
double | ||
![]() ![]() |
double | ||
![]() ![]() |
double | GetStartTime () |
|
![]() ![]() |
bool | ||
![]() |
void | SetupTimeSlice
(
double SliceDuration |
Setup the initial values for a time slice. |
![]() |
void | Starts the time slice, this can be called multiple times as long as EndTimeSliceAndAdjustDuration() is called between each call. | |
![]() ![]() |
bool |