VariableRateManager(uint, bool)
Construct a RateUtils.VariableRateManager with a given Millisecond update rate.
Read time 1 minuteLast updated 2 days ago
Definition
- Type: Constructor
- Namespace: Unity.Entities
- Assembly: UnityEngine.EntitiesModule
public VariableRateManager(uint updateRateInMS = 66, bool pushToWorld = true)
Parameters
The update rate for the manager in Milliseconds, if the value is less then MinUpdateRateMS it will be set to it.
Remarks
Utilizes an accumulator where when it exceeds the indicated tick count, triggers the update and resets the counter.