Skip to content

AudioAPI reference

Class AudioBus

Namespace: MicroEngine.Audio
Assembly: MicroEngine.Audio.dll
Guide: Audio

A named mix stage: the sounds and buses under it are scaled by its Volume. Buses form a tree under “master”: a bus is created under a parent that already exists and is never moved, so there is no cycle.

C#
public sealed class AudioBus

Inheritance

object ← AudioBus

Properties

Name

The bus’s name.

C#
public string Name { get; }

Property Value

string

Parent

The bus it plays into; null for “master”.

C#
public AudioBus? Parent { get; }

Property Value

AudioBus?

Volume

Gain of everything on the bus, clamped to 0..4; it changes at the frame of the current step.

C#
public float Volume { get; set; }

Property Value

float