Interface IAudioInfluencer
Interface that should be implemented by any class that wishes to influence how an audio source sounds.
Namespace: Microsoft.MixedReality.Toolkit.Audio
Assembly: cs.temp.dll.dll
Syntax
public interface IAudioInfluencer
Methods
ApplyEffect(GameObject)
Applies an audio effect.
Declaration
void ApplyEffect(GameObject soundEmittingObject)
Parameters
Type | Name | Description |
---|---|---|
GameObject | soundEmittingObject | The GameObject on which the effect is to be applied. |
RemoveEffect(GameObject)
Removes a previously applied audio effect.
Declaration
void RemoveEffect(GameObject soundEmittingObject)
Parameters
Type | Name | Description |
---|---|---|
GameObject | soundEmittingObject | The GameObject from which the effect is to be removed. |