UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
FRenderTimer Class Reference

#include <RenderTimer.h>

Public Member Functions

 FRenderTimer ()
 
float GetCurrentTime () const
 
float GetCurrentDeltaTime () const
 
void Tick (float DeltaTime)
 

Protected Attributes

float CurrentDeltaTime
 
float CurrentTime
 

Detailed Description

Timer helper class.

Constructor & Destructor Documentation

◆ FRenderTimer()

FRenderTimer::FRenderTimer ( )
inline

Member Function Documentation

◆ GetCurrentDeltaTime()

float FRenderTimer::GetCurrentDeltaTime ( ) const
inline

Returns the current delta time.

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

◆ GetCurrentTime()

float FRenderTimer::GetCurrentTime ( ) const
inline

Returns the current time, in seconds.

Returns
Current time, in seconds

◆ Tick()

void FRenderTimer::Tick ( float  DeltaTime)
inline

Updates the timer.

Parameters
DeltaTimeNumber of seconds that have passed since the last tick

Member Data Documentation

◆ CurrentDeltaTime

float FRenderTimer::CurrentDeltaTime
protected

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

◆ CurrentTime

float FRenderTimer::CurrentTime
protected

Current time, in seconds.


The documentation for this class was generated from the following file: