Class PlaylistTrack
The persistent storage for music audio data.
Inheritance
System.Object
PlaylistTrack
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Stem
Assembly: Stem.dll
Syntax
[Serializable]
public class PlaylistTrack
Properties
| Improve this Doc View SourceClip
The audio clip with audio data. Please refer to Unity Scripting Reference for details.
Declaration
public AudioClip Clip { get; set; }
Property Value
Type | Description |
---|---|
AudioClip | A reference to an audio clip. |
Name
The name of the track.
Declaration
public string Name { get; }
Property Value
Type | Description |
---|---|
System.String | Name of the current audio clip being used. Null reference otherwise. |
Playlist
The playlist the track belongs to.
Declaration
public Playlist Playlist { get; set; }
Property Value
Type | Description |
---|---|
Playlist | A reference to a playlist. |
Volume
The volume of the track.
Declaration
public float Volume { get; set; }
Property Value
Type | Description |
---|---|
System.Single | Volume of the track. Value must be in [0;1] range. |