CastMember#
Import |
|
Defined in |
|
Install |
|
Since |
0.1 |
Stability |
Public: follows semantic versioning. Below 1.0, a minor release may change it, and the CHANGELOG says how. |
- class scenet.ir.CastMember[source]#
Bases:
StrictOne character present in the panel: a puppet Scenet poses, or a figure a picture draws.
The split between actor id and
referenceis what lets one puppet appear twice in a panel as two different people:cast: guard_left: {reference: bob, pose: arms_crossed} guard_right: {reference: bob, pose: standing_neutral, facing: left}
Example
>>> from scenet import CastMember, Facing >>> member = CastMember(reference="alice", at="left_third", facing="left") >>> member.facing is Facing.LEFT True
- reference: str | None#
The puppet to draw: a shipped puppet’s name, or the path of a
.puppet.yamlfile, relative to the document. Written instead offigure.
- marks: tuple[Mark, ...]#
Emanata drawn around the character –
plewds,squeans,grawlixes,briffits– in any order, each once. They compose with the expression.
- at: AnchorX#
Where along the panel’s width the figure would like to stand. A preference: non-overlap and
left_ofoverride it.