FTimer

The scene rendering stats.The scene update stats.

Windows
MacOS
Linux

References

Module

RenderCore

Header

/Engine/Source/Runtime/RenderCore/Public/RenderCore.h

Include

#include "RenderCore.h"

Syntax

class FTimer

Remarks

The scene rendering stats.The scene update stats. The purpose of the SceneUpdate stat group is to show where rendering thread time is going from a high level outside of RenderViewFamily. It should only contain stats that are likely to track a lot of time in a typical scene, not edge case stats that are rarely non-zero. Use a more detailed profiler (like an instruction trace or sampling capture on Xbox 360) to track down where time is going in more detail. Memory stats for tracking virtual allocations used by the renderer to represent the scene. Timer helper class.

Variables

Name Description

Protected variable

float

 

CurrentDeltaTime

Current delta time (number of seconds that passed between the last two tick).

Protected variable

float

 

CurrentTime

Current time, in seconds.

Constructors

Name Description

Public function

FTimer()

Constructor

Functions

Name Description

Public function Const

float

 

GetCurrentDeltaTime()

Returns the current delta time.

Public function Const

float

 

GetCurrentTime()

Returns the current time, in seconds.

Public function

void

 

Tick

(
    float DeltaTime
)

Updates the timer.

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