Currently active AudioEvents along with their AudioSource components for instance limiting events
More...
|
| | ActiveEvent (AudioEvent audioEvent, GameObject emitter, AudioSource primarySource, AudioSource secondarySource, string messageOnAudioEnd=null) |
| |
| void | SetPitch (float newPitch) |
| | Sets the pitch value for the primary source. More...
|
| |
| void | Dispose () |
| |
Currently active AudioEvents along with their AudioSource components for instance limiting events
Definition at line 12 of file ActiveEvent.cs.
§ ActiveEvent()
| HoloToolkit.Unity.ActiveEvent.ActiveEvent |
( |
AudioEvent |
audioEvent, |
|
|
GameObject |
emitter, |
|
|
AudioSource |
primarySource, |
|
|
AudioSource |
secondarySource, |
|
|
string |
messageOnAudioEnd = null |
|
) |
| |
§ CreateFlatSpatialRolloffCurve()
| static void HoloToolkit.Unity.ActiveEvent.CreateFlatSpatialRolloffCurve |
( |
| ) |
|
|
static |
Creates a flat animation curve to negate Unity's distance attenuation when using Spatial Sound
Definition at line 251 of file ActiveEvent.cs.
§ Dispose()
| void HoloToolkit.Unity.ActiveEvent.Dispose |
( |
| ) |
|
§ SetPitch()
| void HoloToolkit.Unity.ActiveEvent.SetPitch |
( |
float |
newPitch | ) |
|
Sets the pitch value for the primary source.
- Parameters
-
| newPitch | The value to set the pitch, between 0 (exclusive) and 3 (inclusive). |
Definition at line 222 of file ActiveEvent.cs.
§ ActiveTime
| float HoloToolkit.Unity.ActiveEvent.ActiveTime = 0 |
§ AltVolDest
| float HoloToolkit.Unity.ActiveEvent.AltVolDest = 1 |
§ AudioEvent
| AudioEvent HoloToolkit.Unity.ActiveEvent.AudioEvent = null |
§ CancelEvent
| bool HoloToolkit.Unity.ActiveEvent.CancelEvent = false |
§ CurrentFade
| float HoloToolkit.Unity.ActiveEvent.CurrentFade = 0 |
§ IsActiveTimeComplete
| bool HoloToolkit.Unity.ActiveEvent.IsActiveTimeComplete = false |
§ IsStoppable
| bool HoloToolkit.Unity.ActiveEvent.IsStoppable = true |
§ PlayingAlt
| bool HoloToolkit.Unity.ActiveEvent.PlayingAlt = false |
§ SpatialRolloff
| AnimationCurve HoloToolkit.Unity.ActiveEvent.SpatialRolloff |
|
static |
§ VolDest
| float HoloToolkit.Unity.ActiveEvent.VolDest = 1 |
§ AudioEmitter
| GameObject HoloToolkit.Unity.ActiveEvent.AudioEmitter |
|
get |
§ IsPlaying
| bool HoloToolkit.Unity.ActiveEvent.IsPlaying |
|
get |
§ MessageOnAudioEnd
| string HoloToolkit.Unity.ActiveEvent.MessageOnAudioEnd |
|
get |
§ PrimarySource
| AudioSource HoloToolkit.Unity.ActiveEvent.PrimarySource |
|
get |
§ SecondarySource
| AudioSource HoloToolkit.Unity.ActiveEvent.SecondarySource |
|
get |
The documentation for this class was generated from the following file: