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

Instantly rotates a GameObject to look at a supplied Transform or Vector3 then returns it to it's starting rotation 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

Instantly rotates a GameObject to look at a supplied Transform or Vector3 then returns it to it's starting rotation over time with FULL customization options.

Member Data Documentation

const string iT.LookFrom.axis = "axis"

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

const string iT.LookFrom.delay = "delay"

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

const string iT.LookFrom.easetype = "easetype"

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

const string iT.LookFrom.looktarget = "looktarget"

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

const string iT.LookFrom.looptype = "looptype"

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

const string iT.LookFrom.oncomplete = "oncomplete"

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

const string iT.LookFrom.oncompleteparams = "oncompleteparams"

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

const string iT.LookFrom.oncompletetarget = "oncompletetarget"

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

const string iT.LookFrom.onstart = "onstart"

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

const string iT.LookFrom.onstartparams = "onstartparams"

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

const string iT.LookFrom.onstarttarget = "onstarttarget"

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

const string iT.LookFrom.onupdate = "onupdate"

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

const string iT.LookFrom.onupdateparams = "onupdateparams"

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

const string iT.LookFrom.onupdatetarget = "onupdatetarget"

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

const string iT.LookFrom.speed = "speed"

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

const string iT.LookFrom.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: