CameraLaneKey beta
Interface of @v12-engine/client
ts
export interface CameraKey extends KeyA key of the camera lane: a shot, a view or a rail at a moment, with the line it takes from the key before
Members
handles
ts
handles?: {
in?: Vec2;
out?: Vec2;
};For bezier: the handles, as offsets from the key's point on the ground: out as the camera leaves it, in as it arrives
hold
ts
hold?: boolean;The camera stays at this key until the next one: a cut there
path
ts
path?: CameraPath;The line it takes from the key before: straight when left out
transition
ts
transition?: string | ({
id: string;
} & Record<string, unknown>);How the eye sees the cut to this key (B3): a transition by id ('dissolve'), or one with how it is played ({ id: 'iris', at: { unit: 'hero' }, seconds: 0.8 }). Played as the key is reached; none on a seek
value
ts
value: CameraKeyValue;What the camera is at this key: a shot, a view of the map by name, or a rail