AudioClipExt Class
Audio extensions.
Inheritance Hierarchy
System.Object
UltimateXR.Extensions.Unity.Audio.AudioClipExt
Namespace: UltimateXR.Extensions.Unity.Audio
Assembly: UltimateXR (in UltimateXR.dll) Version: 0.0.0.0
Syntax
C#
public static class AudioClipExt
The AudioClipExt type exposes the following members.
Methods
Name | Description | |
---|---|---|
CreatePcmStreamed | Creates a AudioClipExt.StreamedPcmClip object from a stream containing PCM data. | |
FromFile | Asynchronously reads and loads an AudioClip into memory from a given uri | |
FromPcmBytes | Creates an AudioClip from a PCM byte array. | |
FromPcmBytesAsync | Creates an AudioClip from a PCM byte array asynchronously. | |
FromPcmFile | Asynchronously reads and loads an AudioClip into memory from a given uri pointing to a file with PCM bytes. | |
FromPcmStream | Creates an AudioClip from a PCM stream. | |
FromPcmStreamAsync | Creates an AudioClip from a PCM stream asynchronously. | |
PlayAsync | Asynchronous and ubiquitously plays the AudioClip. | |
PlayAtPointAsync | Asynchronously plays the AudioClip at a given position in world space. | |
PlayClip | Ubiquitously plays an AudioClip. | |
PlayClipAtPoint | Plays an AudioClip at a given position in world space. |