RelevanceTierBands
A priority's own distance tiers (NebulaConfig.InterestLowTiers and its siblings, docs/server-owned-entities.md D10): two radii and a divisor for each of the three bands they make.
Nebula · Packages/com.1by3.nebula/Runtime/Interest/RelevanceTiers.cs[System.Serializable]
public struct RelevanceTierBandsA priority's own distance tiers (NebulaConfig.InterestLowTiers and its siblings, docs/server-owned-entities.md D10): two radii and a divisor for each of the three bands they make. When Override is false the priority keeps the shift of the global tiers that RelevancePriority describes, and the other fields are ignored, so a config that sets none of this behaves exactly as before.
A divisor is ticks per update window, as everywhere in the tiers: 1 is every update the worker sends, 4 one update in each window of 4 ticks, and 0 none at all (the client keeps the entity where it was last told, and is still sent its reliable entries).
Fields
Override
public bool Override;Use these bands for the priority instead of shifting the global ones.
NearRadius
public float NearRadius;Metres from a client's nearest focus within which an entity is in the near band.
FarRadius
public float FarRadius;Metres within which it is in the middle band; beyond it, the far band.
NearDivisor
public int NearDivisor;Ticks per update window in the near band (1 = every update, 0 = none).
MidDivisor
public int MidDivisor;Ticks per update window in the middle band (0 = none).
FarDivisor
public int FarDivisor;Ticks per update window in the far band, and for a client with no focus in the entity's space (0 = none).
Methods
Of
public static RelevanceTierBands Of(float nearRadius, float farRadius, int nearDivisor, int midDivisor, int farDivisor);Bands set explicitly (Override true).
DivisorOf
public int DivisorOf(int band);The divisor of distance band band (RelevanceTiers.Near, RelevanceTiers.Middle, RelevanceTiers.Far).
ToString
public override string ToString();RelevancePriority
How much an entity's transform updates matter to the clients that hold it, relative to its distance from them (NetworkIdentity.RelevancePriority, docs/server-owned-entities.md D3).
RelevanceTiers
The arithmetic of RelevancePriority: pure, shared by the gateway, the worker and the tests.