Function CreateMainAudioBusAsync
-
CreateMainAudioBusAsync(
name: string,
options?: Partial<IMainAudioBusOptions>,
engine?: Nullable<AudioEngineV2>,
): Promise<MainAudioBus>Parameters
- name: string
The name of the main audio bus.
- options: Partial<IMainAudioBusOptions> = {}
The options to use when creating the main audio bus.
- engine: Nullable<AudioEngineV2> = null
The audio engine.
Returns Promise<MainAudioBus>
A promise that resolves with the created main audio bus.
- name: string
Creates a new main audio bus.