CutEvent beta
Interface of @v12-engine/client
export interface CutEventWhat a hook of a cinematic is told: which hook it is, at what time of the cut, and what the hook is about (the marker reached, the cue and what it carries, the line shown, the key reached, how the cinematic ended)
Members
clip
clip?: RunningClip;For a clip's start and end hooks: the clip playing, with what its lane gives code to reach (handle)
from
from?: number;The time the cut went from, for seek
hook
hook: string;The hook's name: start, marker:gate, cue:gateOpen, lane:melee.cheer:clip...
into
into?: number;For a clip's start: how far into it it began (a seek into it)
item
item?: LaneItem;The key or clip of a lane, for shot, line, lane:<kind>:key, lane:<kind>:clip and a hook the hooks lane calls
lane
lane?: string;The lane's kind, for lane:<kind>:<event>
laneId
laneId?: string;The id of the lane, for a clip's or a key's hooks: a cinematic may have two lanes of a kind
marker
marker?: Marker;The marker reached
name
name?: string;The marker's or the cue's name, for marker:<name> and cue:<name>
outcome
outcome?: CinematicOutcome;For end: how it ended
params
params?: Record<string, unknown>;What a cue (cue:<name>) or a clip of the hooks lane carries
speaker
speaker?: string;For line: who says it and what
text
text?: string;The words said, for line
time
time: number;Seconds of the cut gone by, on its clock
to
to?: number;For seek: the time it went to, and from
why
why?: ClipEnd;For a clip's end: why it ended