Builtin Library
README.md
subject
What a capture of an entity is a picture of. Every path that frames or isolates
an entity (fromEntity, oneshot, a setups or viewpoints collage,
isolate) resolves the name, id or proxy it was given here, so they agree on
which entity a name means.
A player is drawn as its body
A player identity (an entity carrying UserIdentity) is the registry anchor a
connected user is known by. The player is drawn as the body its avatar names,
a standalone entity at the scene root, so a capture of an identity frames and
isolates that body.
In play, a player prototype's spawn turns the prototype's copy into the joining user's identity under the prototype's own name and stands the body it names at the spawn point. A capture of the name an author gave their player prototype therefore frames the player's body in play, and the prototype's subtree in edit.
What a refusal names
describe(target, via) is the phrase a framing refusal uses for each subject it
looked at: the entity's name and id with the number of descendants it holds,
and the player identity it is the body of when it was reached through one, or,
for a player identity with no live body bound, that the body is missing.
| Function | Returns |
|---|---|
resolve(t) | the entity a capture pictures for a name, id or proxy (nil when none matches), and the player identity it was reached through |
bodyOf(target) | the live body a player identity is drawn as, or nil |
isPlayerIdentity(target) | whether the entity carries UserIdentity |
describe(target, via) | the refusal phrase for one resolved subject |