Skip to content

BusOptions beta ​

Interface of @v12-engine/client

ts
export interface BusOptions

A bus of a game's own (AppMixer.bus): how it is called in the mixer, how loud until the player sets it (0.8), which bus it goes into (that one's volume over its own; none for everything), whether it goes down while someone speaks (ducks) and whether what plays on it is someone speaking (speaks)

Members ​

ducks ​

ts
ducks?: boolean;

Whether the bus goes down while someone speaks

into ​

ts
into?: Bus;

The bus this one goes into, whose volume applies over its own; the master when left out

label ​

ts
label?: string;

The bus's name in the player's volume settings

level ​

ts
level?: number;

The bus's volume until the player sets it, 0..1; 0.8 when left out

speaks ​

ts
speaks?: boolean;

Whether what plays on the bus is someone speaking, which ducks the buses that duck