VariableRateSimulationSystemGroup
This system group is configured by default to use a variable update rate of ~15fps (66ms).
阅读时间4 分钟最后更新于 4 天前
Definition
- Type: Class
- Namespace: Unity.Entities
- Assembly: UnityEngine.EntitiesModule
- Inherits from: ComponentSystemGroup
[UpdateInGroup(typeof(SimulationSystemGroup), OrderFirst = true)][WorldSystemFilter(WorldSystemFilterFlags.Default|WorldSystemFilterFlags.Editor|WorldSystemFilterFlags.ThinClientSimulation, WorldSystemFilterFlags.Default)]public class VariableRateSimulationSystemGroup : ComponentSystemGroup
Remarks
The value of and will be temporarily overriden while this group is updating to the value total elapsed time since the previous update. You can configure the update rate manually by replacing the IRateManager.
Time.ElapsedTimeTime.DeltaTimeConstructors
Constructor | Description |
|---|---|
| VariableRateSimulationSystemGroup() | Construct a new VariableRateSimulationSystemGroup object |
Properties
Property | Description |
|---|---|
| Timestep | The timestep use by this group, in seconds. This value will reflect the total elapsed time since the last update. |