Infinite Runner Engine v1.9
Public Member Functions | Public Attributes | List of all members
MoreMountains.Tools.MMPlaylistSong Class Reference

Public Member Functions

virtual void Initialization ()
 

Public Attributes

AudioSource TargetAudioSource
 the audiosource that contains the audio clip we want to play More...
 
Vector2 Volume = new Vector2(0f, 1f)
 the min (when it's off) and max (when it's playing) volume for this source More...
 
Vector2 InitialDelay = Vector2.zero
 a random delay in seconds to apply, between its RMin and RMax More...
 
Vector2 CrossFadeDuration = new Vector2(2f, 2f)
 a random crossfade duration (in seconds) to apply when transitioning to this song, between its RMin and RMax More...
 
Vector2 Pitch = Vector2.one
 a random pitch to apply to this song, between its RMin and RMax More...
 
float StereoPan = 0f
 the stereo pan for this song More...
 
float SpatialBlend = 0f
 the spatial blend for this song (0 is 2D, 1 is 3D) More...
 
bool Loop = false
 whether this song should loop or not More...
 
bool Playing = false
 whether this song is playing right now or not More...
 
bool Fading = false
 whether this song is fading right now or not More...
 

Member Function Documentation

◆ Initialization()

virtual void MoreMountains.Tools.MMPlaylistSong.Initialization ( )
virtual

Member Data Documentation

◆ CrossFadeDuration

Vector2 MoreMountains.Tools.MMPlaylistSong.CrossFadeDuration = new Vector2(2f, 2f)

a random crossfade duration (in seconds) to apply when transitioning to this song, between its RMin and RMax

◆ Fading

bool MoreMountains.Tools.MMPlaylistSong.Fading = false

whether this song is fading right now or not

◆ InitialDelay

Vector2 MoreMountains.Tools.MMPlaylistSong.InitialDelay = Vector2.zero

a random delay in seconds to apply, between its RMin and RMax

◆ Loop

bool MoreMountains.Tools.MMPlaylistSong.Loop = false

whether this song should loop or not

◆ Pitch

Vector2 MoreMountains.Tools.MMPlaylistSong.Pitch = Vector2.one

a random pitch to apply to this song, between its RMin and RMax

◆ Playing

bool MoreMountains.Tools.MMPlaylistSong.Playing = false

whether this song is playing right now or not

◆ SpatialBlend

float MoreMountains.Tools.MMPlaylistSong.SpatialBlend = 0f

the spatial blend for this song (0 is 2D, 1 is 3D)

◆ StereoPan

float MoreMountains.Tools.MMPlaylistSong.StereoPan = 0f

the stereo pan for this song

◆ TargetAudioSource

AudioSource MoreMountains.Tools.MMPlaylistSong.TargetAudioSource

the audiosource that contains the audio clip we want to play

◆ Volume

Vector2 MoreMountains.Tools.MMPlaylistSong.Volume = new Vector2(0f, 1f)

the min (when it's off) and max (when it's playing) volume for this source


The documentation for this class was generated from the following file: