UxrAudioSample Class

Describes an audio clip that can be played and its parameters.

Inheritance Hierarchy

System.Object
  UltimateXR.Audio.UxrAudioSample
Namespace: UltimateXR.Audio
Assembly: UltimateXR (in UltimateXR.dll) Version: 0.0.0.0

Syntax

C#

[SerializableAttribute]
public class UxrAudioSample


The UxrAudioSample type exposes the following members.

Constructors

NameDescription
Public methodUxrAudioSample Default constructor.

Properties

NameDescription
Public propertyClip Gets or sets the audio clip.
Public propertyVolume Gets or sets the volume used when playing the clip.

Methods

NameDescription
Public methodPlay Plays the audio in a given position in space.

Extension Methods

NameDescription
Public Extension MethodThrowIfNull Throws an exception if the object is null. (Defined by ObjectExt.)

See Also

Reference

UltimateXR.Audio Namespace