![]() |
AR Design
UBC EML collab with UBC SALA - visualizing IoT data in AR
|
Interface that is implemented by any class that wishes to influence how an audio source sounds. More...
Public Member Functions | |
| void | ApplyEffect (GameObject soundEmittingObject, AudioSource audioSource) |
| Applies an audio effect. More... | |
| void | ApplyEffect (GameObject soundEmittingObject) |
| Applies an audio effect. More... | |
| void | RemoveEffect (GameObject soundEmittingObject, AudioSource audioSource) |
| Removes a previously applied audio effect. More... | |
| void | RemoveEffect (GameObject soundEmittingObject) |
| Removes a previously applied audio effect. More... | |
Interface that is implemented by any class that wishes to influence how an audio source sounds.
Definition at line 12 of file IAudioInfluencer.cs.
| void HoloToolkit.Unity.IAudioInfluencer.ApplyEffect | ( | GameObject | soundEmittingObject, |
| AudioSource | audioSource | ||
| ) |
Applies an audio effect.
| soundEmittingObject | The GameObject on which the effect is to be applied. |
| audioSource | The AudioSource that is emitting the sound. |
This method has been deprecated. The prefered method to call is ApplyEffect(GameObject).
Implemented in HoloToolkit.Unity.AudioOccluder.
| void HoloToolkit.Unity.IAudioInfluencer.ApplyEffect | ( | GameObject | soundEmittingObject | ) |
Applies an audio effect.
| soundEmittingObject | The GameObject on which the effect is to be applied. |
Implemented in HoloToolkit.Unity.AudioOccluder.
| void HoloToolkit.Unity.IAudioInfluencer.RemoveEffect | ( | GameObject | soundEmittingObject, |
| AudioSource | audioSource | ||
| ) |
Removes a previously applied audio effect.
| soundEmittingObject | The GameObject from which the effect is to be removed. |
| audioSource | The AudioSource that is emitting the sound. |
This method has been deprecated. The prefered method to call is ApplyEffect(GameObject).
Implemented in HoloToolkit.Unity.AudioOccluder.
| void HoloToolkit.Unity.IAudioInfluencer.RemoveEffect | ( | GameObject | soundEmittingObject | ) |
Removes a previously applied audio effect.
| soundEmittingObject | The GameObject from which the effect is to be removed. |
Implemented in HoloToolkit.Unity.AudioOccluder.