Encapsulates state to measure a World's simulation time.
This data is most frequently read using World.Time. It is updated every frame by T:Unity.Entities.UpdateWorldTimeSystem. To temporarily override the time values, use World.SetTime or World.PushTime.
| Property | Description |
|---|---|
| DeltaTime | The time in seconds since the last time-updating event occurred. (For example, a frame.) |
| ElapsedTime | The total cumulative elapsed time in seconds. |
| fixedDeltaTime | Currently, an alias to Time.fixedDeltaTime. |
| Constructor | Description |
|---|---|
| TimeData | Create a new TimeData struct with the given values. |