Class ObserverDeclaration
What an ObserverBuilder declared, as the interest pass reads it back.
public sealed class ObserverDeclaration
- Inheritance
-
ObserverDeclaration
- Inherited Members
Properties
Archetypes
The archetypes this observer reaches, in declaration order.
public IReadOnlyList<Type> Archetypes { 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
ByteBudget
The observer's byte budget; 0 when none was declared.
public int ByteBudget { 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
FollowsControlled
Whether the observer follows the session's controlled entity.
public bool FollowsControlled { 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
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
Methods
ToString()
public override string ToString()