Provides ticks for the Time class via the System.Diagnostics.Stopwatch class. This class is
usually the fallback if nothing else has been registered for Time.Current.
View code on GitHub
Inheritance Hierarchy
DeltaEngine.Core GlobalTime
DeltaEngine.Core StopwatchTime
Namespace: DeltaEngine.Core
Assembly: DeltaEngine (in DeltaEngine.dll) Version: 1.1.1.0 (1.1.1)
Syntax
The StopwatchTime type exposes the following members.
Constructors
Name | Description | |
---|---|---|
StopwatchTime | Initializes a new instance of the StopwatchTime class |
Methods
Name | Description | |
---|---|---|
Dispose | (Inherited from GlobalTime.) | |
GetSecondsSinceStartToday |
Returns an accurate seconds float value for today, would get inaccurate with more days.
View code on GitHub (Inherited from GlobalTime.) | |
GetTicks | (Overrides GlobalTime GetTicks .) | |
Update | (Inherited from GlobalTime.) |
Properties
Name | Description | |
---|---|---|
Fps | (Inherited from GlobalTime.) | |
Milliseconds | (Inherited from GlobalTime.) | |
TicksPerSecond | (Overrides GlobalTime TicksPerSecond.) |
See Also