csharp
public static class AudioEventBuilderTurns an event asset into an event an engine can play.
No guide page documents this yet — the page shows what the code says about itself.
Remarks
The two things a file cannot hold: a clip, which is a chunk id until something loads it, and a bus, which is a name until there is a mixer to look it up in. Everything else copies across.
Problems are returned, not thrown, exactly as MixerBuilder does and for the same reason: an event is content. A variant whose clip failed to load should leave an event that plays its other four, and a report saying which one is missing — not an exception out of a level load.
Methods (1)
public static AudioEvent Build(AudioEngine engine, AudioEventAsset asset, out IReadOnlyList<string> problems, IAudioEventLibrary? library = null)Resolves an asset against an engine.
Used by (1)
- AudioEngineVixen.Audio