public record class MusicAssetA whole piece of interactive music, as a file declares it.
No guide page documents this yet — the page shows what the code says about itself.
Remarks
Segments and the rules for getting between them, which together are what a composer actually delivers: not a track, but a set of pieces and a description of how the game gets from one to another. Everything gameplay has to know is the name of a parameter.
No file format here, as with every other asset in this assembly. The editor writes YAML, the content build bakes a chunk, and a shipping runtime reads the chunk.
Fields and properties (6)
public string NameWhat it is called.
public string BusWhich bus it plays on, by name. Empty is the master.
public string StartWhich segment it starts on. Empty starts nothing until gameplay asks.
public float CrossfadeSecondsHow long the outgoing segment takes to get out of the way.
public MusicSegmentAsset[] SegmentsThe pieces.
public MusicTransitionAsset[] TransitionsThe rules for getting between them.
Used by (4)
- MusicBuilderVixen.Audio
- MusicPlayerTestsVixen.Audio.Tests
- TypeRegistrationVixen.Audio
- Vixen_Audio_Assets_MusicAssetSerializerVixen.Audio