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

NameDescription
Public methodStatic memberCreatePcmStreamed Creates a AudioClipExt.StreamedPcmClip object from a stream containing PCM data.
Public methodStatic memberFromFile Asynchronously reads and loads an AudioClip into memory from a given uri
Public methodStatic memberFromPcmBytes Creates an AudioClip from a PCM byte array.
Public methodStatic memberFromPcmBytesAsync Creates an AudioClip from a PCM byte array asynchronously.
Public methodStatic memberFromPcmFile Asynchronously reads and loads an AudioClip into memory from a given uri pointing to a file with PCM bytes.
Public methodStatic memberFromPcmStream Creates an AudioClip from a PCM stream.
Public methodStatic memberFromPcmStreamAsync Creates an AudioClip from a PCM stream asynchronously.
Public methodStatic memberPlayAsync Asynchronous and ubiquitously plays the AudioClip.
Public methodStatic memberPlayAtPointAsync Asynchronously plays the AudioClip at a given position in world space.
Public methodStatic memberPlayClip Ubiquitously plays an AudioClip.
Public methodStatic memberPlayClipAtPoint Plays an AudioClip at a given position in world space.

See Also

Reference

UltimateXR.Extensions.Unity.Audio Namespace