Nebula
Loading...
Searching...
No Matches
Game::Time Namespace Reference

Functions

TimeSource *const CreateTimeSource (TimeSourceCreateInfo const &info)
 create a timesource. The global time manager handles the timesources.
 
TimeSource *const GetTimeSource (uint32_t TIMESOURCE_HASH)
 get a time source by hash
 
void SetGlobalTimeFactor (float factor)
 set global time scale. This should be used sparingly. You can usually set individual time sources time factor instead.
 
float GetGlobalTimeFactor ()
 get the global time scale
 

Function Documentation

◆ CreateTimeSource()

TimeSource *const Game::Time::CreateTimeSource ( TimeSourceCreateInfo const & info)

create a timesource. The global time manager handles the timesources.

◆ GetGlobalTimeFactor()

float Game::Time::GetGlobalTimeFactor ( )

get the global time scale

◆ GetTimeSource()

TimeSource *const Game::Time::GetTimeSource ( uint32_t TIMESOURCE_HASH)

get a time source by hash

◆ SetGlobalTimeFactor()

void Game::Time::SetGlobalTimeFactor ( float factor)

set global time scale. This should be used sparingly. You can usually set individual time sources time factor instead.