![]() |
AR Design
UBC EML collab with UBC SALA - visualizing IoT data in AR
|
Class that implements IAudioInfluencer to provide an occlusion effect. More...
Public Member Functions | |
| void | ApplyEffect (GameObject soundEmittingObject, AudioSource audioSource) |
| Applies the audio effect. More... | |
| void | ApplyEffect (GameObject soundEmittingObject) |
| Applies the audio effect. More... | |
| void | RemoveEffect (GameObject soundEmittingObject, AudioSource audioSource) |
| Removes the previously applied audio effect. More... | |
| void | RemoveEffect (GameObject soundEmittingObject) |
| Removes the previously applied audio effect. More... | |
Properties | |
| float | CutoffFrequency [get, set] |
| float | VolumePassThrough [get, set] |
Class that implements IAudioInfluencer to provide an occlusion effect.
Ensure that all sound emitting objects have an attached AudioEmitter. Failing to do so will result in the desired effect not being applied to the sound.
Definition at line 16 of file AudioOccluder.cs.
| void HoloToolkit.Unity.AudioOccluder.ApplyEffect | ( | GameObject | soundEmittingObject, |
| AudioSource | audioSource | ||
| ) |
Applies the 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 and should be removed in the next major release of the Mixed Reality Toolkit.
Implements HoloToolkit.Unity.IAudioInfluencer.
Definition at line 98 of file AudioOccluder.cs.
| void HoloToolkit.Unity.AudioOccluder.ApplyEffect | ( | GameObject | soundEmittingObject | ) |
Applies the audio effect.
| soundEmittingObject | The GameObject on which the effect is to be applied. |
Implements HoloToolkit.Unity.IAudioInfluencer.
Definition at line 110 of file AudioOccluder.cs.
| void HoloToolkit.Unity.AudioOccluder.RemoveEffect | ( | GameObject | soundEmittingObject, |
| AudioSource | audioSource | ||
| ) |
Removes the 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 and should be removed in the next major release of the Mixed Reality Toolkit.
Implements HoloToolkit.Unity.IAudioInfluencer.
Definition at line 147 of file AudioOccluder.cs.
| void HoloToolkit.Unity.AudioOccluder.RemoveEffect | ( | GameObject | soundEmittingObject | ) |
Removes the previously applied audio effect.
| soundEmittingObject | The GameObject from which the effect is to be removed. |
Implements HoloToolkit.Unity.IAudioInfluencer.
Definition at line 158 of file AudioOccluder.cs.
|
getset |
Definition at line 32 of file AudioOccluder.cs.
|
getset |
Definition at line 66 of file AudioOccluder.cs.