Class ObserverDeclaration
What an ObserverBuilder declared, as the runtime reads it back at Start.
public sealed class ObserverDeclaration
- Inheritance
-
ObserverDeclaration
- Inherited Members
Properties
AggregateRadiusM
An aggregate observer's radius around the session's anchor; 0 for every tile.
public double AggregateRadiusM { get; }
Property Value
Archetypes
The archetypes this observer reaches, in declaration order.
public IReadOnlyList<Type> Archetypes { get; }
Property Value
Bands
A sphere's distance bands, innermost first (09 § 9); empty when every update is sent every tick.
public IReadOnlyList<DistanceBand> Bands { get; }
Property Value
BoundEntity
The entity a sphere is bound to, or Null when it is not bound to one.
public EntityId BoundEntity { get; }
Property Value
EffectiveRadius
The radius a sphere's sessions test against: the band's midpoint (R + L) / 2 with a leave radius, the enter radius without (09 § 3).
public double EffectiveRadius { get; }
Property Value
FarMaxHz
The far tier's refresh rate in hertz; 0 when there is no far tier.
public double FarMaxHz { get; }
Property Value
FarTileM
The far tier's tile edge in metres; 0 when there is no far tier.
public double FarTileM { get; }
Property Value
FillBudget
The enters a frame's fill may take (Fill(int)); 0 for the engine's EnterBudgetPerFrame.
public int FillBudget { get; }
Property Value
FollowsControlled
Whether the observer follows the session's controlled entity.
public bool FollowsControlled { get; }
Property Value
GroupInterests
The group sets this observer holds the groups of (Groups(string, double)).
public IReadOnlyList<GroupInterest> GroupInterests { get; }
Property Value
Kind
The region's shape.
public ObserverKind Kind { get; }
Property Value
LeaveRadius
A sphere's leave radius, in metres; 0 when the declaration left the hysteresis band to the engine.
public double LeaveRadius { get; }
Property Value
MaxEdgeM
A client region's longest accepted edge, in metres.
public double MaxEdgeM { get; }
Property Value
MaxRadius
A sphere's largest run-time radius, in metres (SetRadius); 0 when a session's radius is fixed.
public double MaxRadius { get; }
Property Value
NearBudget
The near tier's entity budget; 0 when none was declared.
public int NearBudget { get; }
Property Value
Placement
A fixed placement, or null when the observer is bound or follows the controlled entity.
public Vector3D? Placement { get; }
Property Value
Radius
A sphere's enter radius, in metres.
public double Radius { get; }
Property Value
RateHz
An aggregate observer's refresh rate, in hertz.
public double RateHz { get; }
Property Value
TileM
An aggregate observer's tile edge, in metres.
public double TileM { get; }
Property Value
VisibilitySlack
The sphere's visibility slack h_p (09 § 2–3): half its band with a leave radius, the anchor slack's mirror R / 48 without.
public double VisibilitySlack { get; }
Property Value
Methods
ToString()
public override string ToString()