AR Design
UBC EML collab with UBC SALA - visualizing IoT data in AR
HoloToolkit.Unity.IAudioInfluencer Interface Reference

Interface that is implemented by any class that wishes to influence how an audio source sounds. More...

Inheritance diagram for HoloToolkit.Unity.IAudioInfluencer:
HoloToolkit.Unity.AudioOccluder

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...
 

Detailed Description

Interface that is implemented by any class that wishes to influence how an audio source sounds.

Definition at line 12 of file IAudioInfluencer.cs.

Member Function Documentation

§ ApplyEffect() [1/2]

void HoloToolkit.Unity.IAudioInfluencer.ApplyEffect ( GameObject  soundEmittingObject,
AudioSource  audioSource 
)

Applies an audio effect.

Parameters
soundEmittingObjectThe GameObject on which the effect is to be applied.
audioSourceThe AudioSource that is emitting the sound.

This method has been deprecated. The prefered method to call is ApplyEffect(GameObject).

Implemented in HoloToolkit.Unity.AudioOccluder.

§ ApplyEffect() [2/2]

void HoloToolkit.Unity.IAudioInfluencer.ApplyEffect ( GameObject  soundEmittingObject)

Applies an audio effect.

Parameters
soundEmittingObjectThe GameObject on which the effect is to be applied.

Implemented in HoloToolkit.Unity.AudioOccluder.

§ RemoveEffect() [1/2]

void HoloToolkit.Unity.IAudioInfluencer.RemoveEffect ( GameObject  soundEmittingObject,
AudioSource  audioSource 
)

Removes a previously applied audio effect.

Parameters
soundEmittingObjectThe GameObject from which the effect is to be removed.
audioSourceThe AudioSource that is emitting the sound.

This method has been deprecated. The prefered method to call is ApplyEffect(GameObject).

Implemented in HoloToolkit.Unity.AudioOccluder.

§ RemoveEffect() [2/2]

void HoloToolkit.Unity.IAudioInfluencer.RemoveEffect ( GameObject  soundEmittingObject)

Removes a previously applied audio effect.

Parameters
soundEmittingObjectThe GameObject from which the effect is to be removed.

Implemented in HoloToolkit.Unity.AudioOccluder.


The documentation for this interface was generated from the following file: