ReadonlynodeBorrowed composition reference; readonly prevents reassignment through this view, not mutation of the tree.
ReadonlysubjectThe person whose actions this chain appends.
Append an action by name. The parameters are the named action's own, so a misspelt name, a parameter the action does not take and a wrong value are refused by the type checker; an action whose parameters are all optional may be appended without any.
The chain.
Returns a new same-class chain that places these parts after this node. An existing sequence head is flattened; following nested sequences are preserved. With no parts, a sequence wrapper or copy is still returned. Existing child nodes are shared, and constructor/derive errors propagate.
Perform other actions over the last appended one, at the same time and on other parts of the body: a wave or a phone during a walk.
The last action carries the body (its root, its legs and whatever it
does not yield); the actions build appends to the empty chain it is
given start with it, follow one another, and each takes only the
channels it claims. The performance refuses an action that cannot ride
a carrier, a carrier that does not yield the channels asked, and two
overlays that claim one channel at one time, naming both claims.
a.walk({ to }).over((u) => u.handToFace({ task: "phone" }));
Appends the overlaid actions to an empty chain of this person.
The chain.
Append an action a production registered with the performance
(IAutoMovieMotionHumanPerformance.IInput.laws), by the name its law carries. The
parameters are the registered law's own and are not checked here;
HumanChain.extend gives the same action a typed method, which is the
way to call it from code that knows the law.
The registered law's name.
Optionalparams: object
Its parameters.
Optionalanchor: string
A stable id another chain can align to or cut on.
The chain.
Time the last appended action to an instant of another action or of a
cue track, as BML's synchronisation constraints do: one of its own
instants (align, its start when absent) falls on the instant named
(of and event), offset seconds later.
The action starts as early as that needs. Where its performer's previous
action still runs then, that action is cut there, which its cancel table
must allow; an action that would have to start before its performer's
previous one, or before the film, is refused with the earliest instant
it can meet. What follows in the chain starts when the synced action
ends. Cut the action (until) and put overlays on it (over) before
syncing it.
a.stand().gesture({ kind: "beat" }).sync({ of: "dialogue", event: "accent", index: 2, align: "strokeEnd" });
b.stand().flinch().sync({ of: "strike", event: "contact" });
The instant to meet and which instant of the action meets it.
The chain.
Cut the last appended action: at a share, at one of its events, at another action's event, or when a region comes near a target.
The cut.
The chain.
Returns a new same-class chain whose parts begin at the same film instant. An existing parallel head is flattened; following groups stay nested. Empty arguments still return a parallel wrapper or copy sharing the existing child nodes. Constructor/derive errors propagate.
The part of a person's chain that knows no action: whose chain it is, how an action is appended by name with that action's own parameter type, and how the last action is cut.
HumanChainis this class with one vocabulary method per action, added by the family classes between them. Each of those methods isactunder the action's name, sochain.touch(params)andchain.act("touch", params)append the same intent and are checked against the same parameter type.