Struct RealmsAccessor
What a system reads of the realm policy this tick (Realms): each realm's state, rate divisor and the delta time a cluster of it integrates over.
public readonly struct RealmsAccessor
- Inherited Members
Methods
DeltaTime(RealmId)
The time a cluster of realm integrates over this run: AmortizedDeltaTime × the realm's divisor when
this run's dispatch was strided (it saw the cluster once in that many runs), the amortized delta time otherwise.
public float DeltaTime(RealmId realm)
Parameters
realmRealmId
Returns
DivisorOf(RealmId)
The realm's rate divisor this tick: 1 when observed, its UnobservedTickDivisor otherwise.
public int DivisorOf(RealmId realm)
Parameters
realmRealmId
Returns
IsRunnable(RealmId)
True when realm's clusters are dispatched this tick.
public bool IsRunnable(RealmId realm)
Parameters
realmRealmId
Returns
StateOf(RealmId)
What realm is doing this tick. Refuses an unregistered id.
public RealmRunState StateOf(RealmId realm)
Parameters
realmRealmId
Returns
TicksPerVisit(RealmId)
Ticks one visit of a cluster of realm stands for in THIS run: the realm's divisor when this system's dispatch was strided, 1
otherwise (a Full or change-filtered system sees every cluster every run). What a fixed-step simulation multiplies by.
public int TicksPerVisit(RealmId realm)
Parameters
realmRealmId