Vixen
02b45cc4
csharp
public record class MixerAsset

A whole mixer, as a file declares it.

No guide page documents this yet — the page shows what the code says about itself.

Remarks

The authoring layer docs/plan/14 asks for. Buses built in code are fine for a prototype and wrong for a project: a sound designer who has to open a C# file to move a fader is a sound designer who does not move the fader.

No file format here. This is a serialisable record graph and nothing more — the editor writes YAML, the content build bakes a chunk, and a shipping runtime reads the chunk with no parser linked in. That separation is the same one Vixen.Rendering's compositor asset makes, and for the same reason.

Fields and properties (4)

  • public MixerBusAsset[] Buses

    The buses, in any order — a bus may name a parent declared after it.

  • public MixerSnapshotAsset[] Snapshots

    The snapshots.

  • public string DefaultSnapshot

    Which snapshot the mixer starts in, by name. Empty means whatever the buses say.

  • public AudioBusParameterAsset[] Parameters

    Engine-wide parameters and what moving them does to the mix.

Used by (10)

  • AudioEngineVixen.Audio
  • MixerAssetTestsVixen.Audio.Tests
  • MixerBuilderVixen.Audio
  • MixerParameterTestsVixen.Audio.Tests
  • TypeRegistrationVixen.Audio
  • Vixen_Audio_Assets_MixerAssetSerializerVixen.Audio
  • AudioMixerDocumentVixen.Editor.AssetEditors
  • AudioMixerViewVixen.Editor.AssetEditors
  • AudioMixerViewTestsVixen.Editor.AssetEditors.Tests
  • AuthoringTestsVixen.Editor.AssetEditors.Tests