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.ValueTo Class Reference

Returns a value to an 'oncallback' method interpolated between the supplied 'from' and 'to' values for application as desired. Requires an 'onupdate' callback that accepts the same type as the supplied 'from' and 'to' properties. More...

Public Attributes

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 from = "from"
 A System.Single or System.Double or Vector3 or Vector2 or Color or Rect for the starting value. 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 speed = "speed"
 A System.Single or System.Double can be used instead of time to allow animation based on speed (only works with Vector2, Vector3, and Floats) 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 to = "to"
 A System.Single or System.Double or Vector3 or Vector2 or Color or Rect for the ending value. More...
 

Detailed Description

Returns a value to an 'oncallback' method interpolated between the supplied 'from' and 'to' values for application as desired. Requires an 'onupdate' callback that accepts the same type as the supplied 'from' and 'to' properties.

Member Data Documentation

const string iT.ValueTo.delay = "delay"

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

const string iT.ValueTo.easetype = "easetype"

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

const string iT.ValueTo.from = "from"

A System.Single or System.Double or Vector3 or Vector2 or Color or Rect for the starting value.

const string iT.ValueTo.looptype = "looptype"

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

const string iT.ValueTo.oncomplete = "oncomplete"

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

const string iT.ValueTo.oncompleteparams = "oncompleteparams"

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

const string iT.ValueTo.oncompletetarget = "oncompletetarget"

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

const string iT.ValueTo.onstart = "onstart"

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

const string iT.ValueTo.onstartparams = "onstartparams"

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

const string iT.ValueTo.onstarttarget = "onstarttarget"

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

const string iT.ValueTo.onupdate = "onupdate"

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

const string iT.ValueTo.onupdateparams = "onupdateparams"

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

const string iT.ValueTo.onupdatetarget = "onupdatetarget"

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

const string iT.ValueTo.speed = "speed"

A System.Single or System.Double can be used instead of time to allow animation based on speed (only works with Vector2, Vector3, and Floats)

const string iT.ValueTo.time = "time"

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

const string iT.ValueTo.to = "to"

A System.Single or System.Double or Vector3 or Vector2 or Color or Rect for the ending value.


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