AR Design
UBC EML collab with UBC SALA - visualizing IoT data in AR
AudioContainer.cs
Go to the documentation of this file.
1 // Copyright (c) Microsoft Corporation. All rights reserved.
2 // Licensed under the MIT License. See LICENSE in the project root for license information.
3 
4 using System;
5 using UnityEngine;
6 
7 namespace HoloToolkit.Unity
8 {
13  [Serializable]
14  public class AudioContainer
15  {
16  [Tooltip("The type of the audio container.")]
17  public AudioContainerType ContainerType = AudioContainerType.Random;
18 
19  public bool Looping = false;
20  public float LoopTime = 0;
21  public UAudioClip[] Sounds = null;
22  public float CrossfadeTime = 0f;
23  public int CurrentClip = 0;
24  }
25 }
AudioContainerType
The different rules for how audio should be played back.
Definition: AudioEvent.cs:13
Encapsulate a single Unity AudioClip with playback settings.
Definition: AudioClip.cs:12
The AudioContainer class is sound container for an AudioEvent. It also specifies the rules of how to ...