Talos docs

MusicCue

Since 0.6

Change music layer at the next bar line.

Plain text

Signature

export interface MusicCue {
  kind: "music"
  layer: string
  /** Seconds to cross-fade over once the bar arrives. Default 0. */
  crossfade?: number
}

Import: import type { MusicCue } from "@argus/gameplay"

Members

MemberSignatureDescription
kindkind: "music"
layerlayer: string
crossfadecrossfade?: numberSeconds to cross-fade over once the bar arrives. Default 0.