Struct UpdateTime
Namespace: ReadyM.SDK.Services
Assembly: ReadyM.SDK.dll
A service's clock for the current update.
public readonly struct UpdateTime
Inherited Members
object.GetType(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
Constructors
UpdateTime(float, float, ulong)
A service's clock for the current update.
public UpdateTime(float deltaTime, float time, ulong ticks = 0)
Parameters
deltaTime float
Seconds since the last update.
time float
Seconds since the game started.
ticks ulong
Updates that came before this one.
Properties
DeltaTime
Seconds since the last update.
public float DeltaTime { get; }
Property Value
Elapsed
Seconds since the game started.
public float Elapsed { get; }
Property Value
Ticks
How many updates came before this one.
public ulong Ticks { get; }
Property Value
Methods
ToString()
public override string ToString()