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

Rotates a GameObject to look at a supplied Transform or Vector3 over time 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 looktarget = "looktarget"
 A Transform or Vector3 for a target the GameObject will look at. 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 More...
 
const string time = "time"
 A System.Single or System.Double for the time in seconds the animation will take to complete. More...
 

Detailed Description

Rotates a GameObject to look at a supplied Transform or Vector3 over time with FULL customization options.

Member Data Documentation

const string iT.LookTo.axis = "axis"

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

const string iT.LookTo.delay = "delay"

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

const string iT.LookTo.easetype = "easetype"

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

const string iT.LookTo.looktarget = "looktarget"

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

const string iT.LookTo.looptype = "looptype"

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

const string iT.LookTo.oncomplete = "oncomplete"

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

const string iT.LookTo.oncompleteparams = "oncompleteparams"

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

const string iT.LookTo.oncompletetarget = "oncompletetarget"

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

const string iT.LookTo.onstart = "onstart"

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

const string iT.LookTo.onstartparams = "onstartparams"

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

const string iT.LookTo.onstarttarget = "onstarttarget"

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

const string iT.LookTo.onupdate = "onupdate"

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

const string iT.LookTo.onupdateparams = "onupdateparams"

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

const string iT.LookTo.onupdatetarget = "onupdatetarget"

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

const string iT.LookTo.speed = "speed"

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

const string iT.LookTo.time = "time"

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


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