PortalAsker
Who is asking a portal query (docs/portals.md D12, D32): the entity whose own colliders the cast skips, and the party whose link it goes through.
Nebula · Packages/com.1by3.nebula/Runtime/Containers/PortalQueryTypes.cspublic readonly struct PortalAskerWho is asking a portal query (docs/portals.md D12, D32): the entity whose own colliders the cast skips, and the party whose link it goes through. A face with several parties' links casts into the asker's party's far scope. With no party named, the entity's party is its Portal.PartyOf (by default its owner's identity); with neither, the face's one open link, when there is exactly one.
Properties
Entity
public NetworkIdentity Entity { get; }The asking entity, whose colliders a cast does not hit; null for none.
Party
public string Party { get; }The party named explicitly; null when it is to be derived from Entity.
HasParty
public bool HasParty { get; }Whether a party was named.
None
public static PortalAsker None { get; }Nobody in particular: the face's one open link, when there is exactly one.
Methods
Of
public static PortalAsker Of(NetworkIdentity entity);An entity asking: its colliders are skipped and its party chooses the link.
OfParty
public static PortalAsker OfParty(string party, NetworkIdentity entity = null);A party asking, whether or not an entity is behind it (a turret, a spell, a sound): entity, when given, is the one whose colliders are skipped.
PortalAperture
The opening of a portal, on its face's z = 0 plane (docs/portals.md D3): an oriented box centred on the face's origin.
PortalCrossing
Where a cast went through an open portal (docs/portals.md D32): the link, the scope it left and the scope it entered, how far along it the plane was met, and the cast as it continues on the far side, as a point in the far scope's scene (...