PortraitOptions beta
Interface of @v12-engine/client
export interface PortraitOptionsHow a portrait is drawn, beside what it is (PortraitSpec): every so many frames (1, every frame, when left out; 2 every other), for a portrait that need not move as smoothly as the scene, at a part of the cost; still: false for nothing where it cannot be live (no still of the type: what shows it has a picture of its own); and whether it talks (a line's portrait does, the selection's does not), with the line's mood
Members
emotion
emotion?: string;The mood of the line it says (DialogLine.emotion): its look's clip for it, or its talk <mood> clip
every
every?: number;Draws every so many frames; 1, every frame, when left out
onDrawn
onDrawn?(drawn: boolean): void;Told whether what the box shows now is on its canvas (true, once first drawn there) or cannot be (false: nothing to show live, or its model did not load), each time it is asked to show someone else: what shows a picture in the box until then (the HUD's faces) takes it away, or keeps it
still
still?: boolean;Whether a still of the type shows where the portrait cannot be live; false shows nothing then
talking
talking?: boolean;Whether it plays its talk: true when left out (a line's)