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

Changes a GameObject's position over time to a supplied destination with FULL customization options. More...

Public Attributes

const string axis = "axis"
 A System.String. Restricts rotation to the supplied axis only. 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 islocal = "islocal"
 A System.Boolean for whether to animate in world space or relative to the parent. False by default. More...
 
const string lookahead = "lookahead"
 A System.Single or System.Double for how much of a percentage to look ahead on a path to influence how strict "orientopath" is. More...
 
const string looktarget = "looktarget"
 A Vector3 or A Transform for a target the GameObject will look at. More...
 
const string looktime = "looktime"
 A System.Single or System.Double for the time in seconds the object will take to look at either the "looktarget" or "orienttopath". 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 movetopath = "movetopath"
 A System.Boolean for whether to automatically generate a curve from the GameObject's current position to the beginning of the path. True by default. 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 orienttopath = "orienttopath"
 A System.Boolean for whether or not the GameObject will orient to its direction of travel. False by default. More...
 
const string path = "path"
 A Transform[] or Vector3[] for a list of points to draw a Catmull-Rom through for a curved animation path. More...
 
const string position = "position"
 A Transform or Vector3 for a point in space the GameObject will animate to. More...
 
const string speed = "speed"
 A System.Single or System.Double can be used instead of time to allow animation based on speed 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 x = "x"
 A System.Single or System.Double for the individual setting of the x axis. More...
 
const string y = "y"
 A System.Single or System.Double for the individual setting of the y axis. More...
 
const string z = "z"
 A System.Single or System.Double for the individual setting of the z axis. More...
 

Detailed Description

Changes a GameObject's position over time to a supplied destination with FULL customization options.

Member Data Documentation

const string iT.MoveTo.axis = "axis"

A System.String. Restricts rotation to the supplied axis only.

const string iT.MoveTo.delay = "delay"

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

const string iT.MoveTo.easetype = "easetype"

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

const string iT.MoveTo.islocal = "islocal"

A System.Boolean for whether to animate in world space or relative to the parent. False by default.

const string iT.MoveTo.lookahead = "lookahead"

A System.Single or System.Double for how much of a percentage to look ahead on a path to influence how strict "orientopath" is.

const string iT.MoveTo.looktarget = "looktarget"

A Vector3 or A Transform for a target the GameObject will look at.

const string iT.MoveTo.looktime = "looktime"

A System.Single or System.Double for the time in seconds the object will take to look at either the "looktarget" or "orienttopath".

const string iT.MoveTo.looptype = "looptype"

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

const string iT.MoveTo.movetopath = "movetopath"

A System.Boolean for whether to automatically generate a curve from the GameObject's current position to the beginning of the path. True by default.

const string iT.MoveTo.oncomplete = "oncomplete"

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

const string iT.MoveTo.oncompleteparams = "oncompleteparams"

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

const string iT.MoveTo.oncompletetarget = "oncompletetarget"

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

const string iT.MoveTo.onstart = "onstart"

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

const string iT.MoveTo.onstartparams = "onstartparams"

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

const string iT.MoveTo.onstarttarget = "onstarttarget"

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

const string iT.MoveTo.onupdate = "onupdate"

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

const string iT.MoveTo.onupdateparams = "onupdateparams"

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

const string iT.MoveTo.onupdatetarget = "onupdatetarget"

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

const string iT.MoveTo.orienttopath = "orienttopath"

A System.Boolean for whether or not the GameObject will orient to its direction of travel. False by default.

const string iT.MoveTo.path = "path"

A Transform[] or Vector3[] for a list of points to draw a Catmull-Rom through for a curved animation path.

const string iT.MoveTo.position = "position"

A Transform or Vector3 for a point in space the GameObject will animate to.

const string iT.MoveTo.speed = "speed"

A System.Single or System.Double can be used instead of time to allow animation based on speed

const string iT.MoveTo.time = "time"

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

const string iT.MoveTo.x = "x"

A System.Single or System.Double for the individual setting of the x axis.

const string iT.MoveTo.y = "y"

A System.Single or System.Double for the individual setting of the y axis.

const string iT.MoveTo.z = "z"

A System.Single or System.Double for the individual setting of the z axis.


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