Skip to main content

AudioItemSchema

@zylem/game-lib


@zylem/game-lib / cinematics / AudioItemSchema

Variable: AudioItemSchema

const AudioItemSchema: TObject<\{ id: TString; kind: TUnion<[TLiteral<"song">, TLiteral<"sfx">]>; loop: TBoolean; ref: TString; time: TNumber; volume: TNumber; \}>

Defined in: packages/game-lib/src/lib/cinematics/cutscene-definition.ts:208

@zylem/game-lib/cinematics public API.

In-game cutscenes authored in Creator's Director mode: a timeline of scenes, cameras (static, dolly, follow) placed as shots with keyframes and blends, plus event and audio tracks. createCutscenePlayer drives a live stage's camera through the camera pipeline and fires the gameplay hooks.