Class Time
- Namespace
- Fantas
- Assembly
- Fantas.dll
Get game time information
public static class Time
- Inheritance
-
Time
- Inherited Members
Fields
TimePerFrame
Time per frame (in seconds) 1/60
public const double TimePerFrame = 0.016666666666666666
Field Value
Properties
CurrentFramesPerSecond
Current frame rate in the past 1 second
public static int CurrentFramesPerSecond { get; }
Property Value
DeltaFactor
FPS * FrameDeltaTime
public static double DeltaFactor { get; }
Property Value
DeltaTime
Delta time since last frame update
public static double DeltaTime { get; }
Property Value
Elapsed
Current time since start of the game
public static TimeSpan Elapsed { get; }
Property Value
ElapsedSeconds
Current time in seconds since start of the game
public static double ElapsedSeconds { get; }