Interest
DefaultInterestPolicy
What a mesh does without a game policy: one focus at the pawn, plus the client's validated hint as a second focus when it has sent one.
generated from the sources
Class in namespace
Nebula · Packages/com.1by3.nebula/Runtime/Interest/InterestPolicy.cspublic sealed class DefaultInterestPolicy : IInterestPolicyWhat a mesh does without a game policy: one focus at the pawn, plus the client's validated hint as a second focus when it has sent one. A client with no pawn gets no focus, and so hears only about globally relevant entities; a game that wants spectators gives them a focus in its own policy.
Fields
Instance
public static readonly DefaultInterestPolicy Instance = new DefaultInterestPolicy();Methods
Collect
public void Collect(in InterestClient client, InterestQuery query);Authorize
public bool Authorize(in InterestClient client, in InterestEntity entity);