GameTime Type
Provides a variable representation of time based on whether the engine is configured to use a static or a dynamic frame rate.
Union cases
| Union case | Description |
Full Usage:
TickTime TickTime
Parameters:
int64
|
|
Full Usage:
UpdateTime UpdateTime
Parameters:
int64
|
|
Instance members
| Instance member | Description |
Full Usage:
this.IsTickTime
Returns: bool
|
|
Full Usage:
this.IsUpdateTime
Returns: bool
|
|
Full Usage:
this.IsZero
Returns: bool
|
|
Full Usage:
this.Milliseconds
Returns: float
|
|
Full Usage:
this.MillisecondsF
Returns: single
|
|
Full Usage:
this.NotZero
Returns: bool
|
|
Full Usage:
this.Seconds
Returns: float
|
|
Full Usage:
this.SecondsF
Returns: single
|
|
Full Usage:
this.Updates
Returns: int64
|
Static members
| Static member | Description |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Full Usage:
GameTime.DesiredFrameTimeMinimum
Returns: float
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Full Usage:
GameTime.make updateTime clockTime
Parameters:
int64
clockTime : double
Returns: GameTime
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Full Usage:
GameTime.unary op op2 time
Parameters:
int64 -> 'a
op2 : int64 -> 'a
time : GameTime
Returns: 'a
Modifiers: inline Type parameters: 'a |
|
|
|
Nu