7Cogs::Core::Time::Time(
class Context * context) :
17 animationTime = value;
27 if (context->variables->get(
"time.automatic",
true)) {
28 animationTime = timer.elapsedSeconds();
30 animationTimeDelta = timeDelta.elapsedSeconds();
void update()
Updates the state of the time service.
void setAnimationTime(double value)
Set the global animation time to the given value.
double getAnimationTime()
Gets the current animation time in seconds.