Kerbal Space Program  1.12.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
Public Attributes | List of all members
iT.AudioFrom Class Reference

Instantly changes an AudioSource's volume and pitch then returns it to it's starting volume and pitch over time with FULL customization options. Default AudioSource attached to GameObject will be used (if one exists) if not supplied. More...

Public Attributes

const string audiosource = "audiosource"
 A AudioSource for which AudioSource to use. More...
 
const string delay = "delay"
 A System.Single or System.Double for the time in seconds the animation will wait before beginning. More...
 
const string easetype = "easetype"
 A EaseType or System.String for the shape of the easing curve applied to the animation. More...
 
const string looptype = "looptype"
 A LoopType or System.String for the type of loop to apply once the animation has completed. More...
 
const string oncomplete = "oncomplete"
 A System.String for the name of a function to launch at the end of the animation. More...
 
const string oncompleteparams = "oncompleteparams"
 A System.Object for arguments to be sent to the "oncomplete" method. More...
 
const string oncompletetarget = "oncompletetarget"
 A GameObject for a reference to the GameObject that holds the "oncomplete" method. More...
 
const string onstart = "onstart"
 A System.String for the name of a function to launch at the beginning of the animation. More...
 
const string onstartparams = "onstartparams"
 A System.Object for arguments to be sent to the "onstart" method. More...
 
const string onstarttarget = "onstarttarget"
 A GameObject for a reference to the GameObject that holds the "onstart" method. More...
 
const string onupdate = "onupdate"
 A System.String for the name of a function to launch on every step of the animation. More...
 
const string onupdateparams = "onupdateparams"
 A System.Object for arguments to be sent to the "onupdate" method. More...
 
const string onupdatetarget = "onupdatetarget"
 A GameObject for a reference to the GameObject that holds the "onupdate" method. More...
 
const string pitch = "pitch"
 A System.Single or System.Double for the target pitch. More...
 
const string time = "time"
 A System.Single or System.Double for the time in seconds the animation will take to complete. More...
 
const string volume = "volume"
 A System.Single or System.Double for the target level of volume. More...
 

Detailed Description

Instantly changes an AudioSource's volume and pitch then returns it to it's starting volume and pitch over time with FULL customization options. Default AudioSource attached to GameObject will be used (if one exists) if not supplied.

Member Data Documentation

const string iT.AudioFrom.audiosource = "audiosource"

A AudioSource for which AudioSource to use.

const string iT.AudioFrom.delay = "delay"

A System.Single or System.Double for the time in seconds the animation will wait before beginning.

const string iT.AudioFrom.easetype = "easetype"

A EaseType or System.String for the shape of the easing curve applied to the animation.

const string iT.AudioFrom.looptype = "looptype"

A LoopType or System.String for the type of loop to apply once the animation has completed.

const string iT.AudioFrom.oncomplete = "oncomplete"

A System.String for the name of a function to launch at the end of the animation.

const string iT.AudioFrom.oncompleteparams = "oncompleteparams"

A System.Object for arguments to be sent to the "oncomplete" method.

const string iT.AudioFrom.oncompletetarget = "oncompletetarget"

A GameObject for a reference to the GameObject that holds the "oncomplete" method.

const string iT.AudioFrom.onstart = "onstart"

A System.String for the name of a function to launch at the beginning of the animation.

const string iT.AudioFrom.onstartparams = "onstartparams"

A System.Object for arguments to be sent to the "onstart" method.

const string iT.AudioFrom.onstarttarget = "onstarttarget"

A GameObject for a reference to the GameObject that holds the "onstart" method.

const string iT.AudioFrom.onupdate = "onupdate"

A System.String for the name of a function to launch on every step of the animation.

const string iT.AudioFrom.onupdateparams = "onupdateparams"

A System.Object for arguments to be sent to the "onupdate" method.

const string iT.AudioFrom.onupdatetarget = "onupdatetarget"

A GameObject for a reference to the GameObject that holds the "onupdate" method.

const string iT.AudioFrom.pitch = "pitch"

A System.Single or System.Double for the target pitch.

const string iT.AudioFrom.time = "time"

A System.Single or System.Double for the time in seconds the animation will take to complete.

const string iT.AudioFrom.volume = "volume"

A System.Single or System.Double for the target level of volume.


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