IPlayerEffect

The interface of Dominator Player feature

NameSpaceAccessibility

Ami.BroAudio

public

Description

This is returned by the AsDominator() method. It's basically the same as IAudioPlayer, but it includes 3 new methods and excludes the AsDominator() method.

Public Methods

MethodReturnParametersDescription

QuietOthers

float othersVolume, float fadeTime = 0.5f

While this audio player is playing, the volume of other audio players will be lowered to the given volume

float othersVolume, Fading fading

Same as above, but can provide a custom fading setting

LowPassOthers

float frequency = 300f, float fadeTime = 0.5f

While this audio player is playing, a lowpass filter will be added to other audio players (i.e. their higher frequencies will be cutted off)

float frequency, Fading fading

Same as above, but can provide a custom fading setting

HighPassOthers

float frequency = 2000f, float fadeTime = 0.5f

While this audio player is playing, a highpass filter will be added to other audio players (i.e. their lower frequencies will be cutted off)

float frequency, Fading fading

Same as above, but can provide a custom fading setting

Last updated