Skip to main content
Version: 1.0.0-preview.45

Velaptor.FrameTime

Velaptor​

Velaptor​

FrameTime Struct​

Holds timing information for a loop iteration.

public readonly record struct FrameTime : System.IEquatable<Velaptor.FrameTime>

Implements System.IEquatable<FrameTime>

Properties​

ElapsedTime​

Gets the total time that has passed for the current frame.

public System.TimeSpan ElapsedTime { get; init; }

Property Value​

System.TimeSpan

TotalTime​

Gets the total time that the entire application has been running.

public System.TimeSpan TotalTime { get; init; }

Property Value​

System.TimeSpan