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
Name | Description | |
---|---|---|
UxrAudioSample | Default constructor. |
Properties
Name | Description | |
---|---|---|
Clip | Gets or sets the audio clip. | |
Volume | Gets or sets the volume used when playing the clip. |
Methods
Name | Description | |
---|---|---|
Play | Plays the audio in a given position in space. |
Extension Methods
Name | Description | |
---|---|---|
ThrowIfNull | Throws an exception if the object is null. (Defined by ObjectExt.) |