← API
Interface

MusicParts

A three-part music asset: optional intro stinger, mandatory loop body, optional outro tail. Modelled on the Wwise / FMOD pattern every casino slot, action game, and rhythm game uses for combat/win/menu music. Each part accepts a single URL or a codec ladder — the same shape as `engine.loadSound` 's second argument.

Members

  • intro
  • loop
  • outro