FixedStepSimulationSystemGroup
This system group is configured by default to use a fixed timestep for the duration of its updates.
Read time 4 minutesLast updated 19 hours ago
Definition
- Type: Class
- Namespace: Unity.Entities
- Assembly: UnityEngine.EntitiesModule
- Inherits from: ComponentSystemGroup
[WorldSystemFilter(WorldSystemFilterFlags.Default|WorldSystemFilterFlags.Editor|WorldSystemFilterFlags.ThinClientSimulation, WorldSystemFilterFlags.Default)][UpdateInGroup(typeof(SimulationSystemGroup), OrderFirst = true)][UpdateAfter(typeof(BeginSimulationEntityCommandBufferSystem))]public class FixedStepSimulationSystemGroup : ComponentSystemGroup
Remarks
The value of and will be temporarily overriden while this group is updating. The systems in this group will update as many times as necessary at the fixed timestep in order to "catch up" to the actual elapsed time since the previous frame. The default fixed timestep is 1/60 seconds. This value can be overriden at runtime by modifying the system group's property.
Time.ElapsedTimeTime.DeltaTimeTimestepConstructors
Constructor | Description |
|---|---|
| FixedStepSimulationSystemGroup() | Default constructor |
Properties
Property | Description |
|---|---|
| Timestep | Set the timestep use by this group, in seconds. The default value is 1/60 seconds. This value will be clamped to the range [0.0001f ... 10.0f]. |