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

Applies a jolt of force to a GameObject's rotation and wobbles it back to its initial rotation with FULL customization options. More...

Public Attributes

const string amount = "amount"
 A Vector3 for the magnitude of shake. 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 looptype = "looptype"
 A LoopType or System.String for the type of loop to apply once the animation has completed. (only "loop" is allowed with punches) 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 space = "space"
 A Space for applying the transformation in either the world coordinate or local cordinate system. Defaults to local space. 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 magnitude. More...
 
const string y = "y"
 A System.Single or System.Double for the individual setting of the y magnitude. More...
 
const string z = "z"
 A System.Single or System.Double for the individual setting of the z magnitude. More...
 

Detailed Description

Applies a jolt of force to a GameObject's rotation and wobbles it back to its initial rotation with FULL customization options.

Member Data Documentation

const string iT.PunchRotation.amount = "amount"

A Vector3 for the magnitude of shake.

const string iT.PunchRotation.delay = "delay"

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

const string iT.PunchRotation.looptype = "looptype"

A LoopType or System.String for the type of loop to apply once the animation has completed. (only "loop" is allowed with punches)

const string iT.PunchRotation.oncomplete = "oncomplete"

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

const string iT.PunchRotation.oncompleteparams = "oncompleteparams"

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

const string iT.PunchRotation.oncompletetarget = "oncompletetarget"

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

const string iT.PunchRotation.onstart = "onstart"

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

const string iT.PunchRotation.onstartparams = "onstartparams"

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

const string iT.PunchRotation.onstarttarget = "onstarttarget"

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

const string iT.PunchRotation.onupdate = "onupdate"

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

const string iT.PunchRotation.onupdateparams = "onupdateparams"

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

const string iT.PunchRotation.onupdatetarget = "onupdatetarget"

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

const string iT.PunchRotation.space = "space"

A Space for applying the transformation in either the world coordinate or local cordinate system. Defaults to local space.

const string iT.PunchRotation.time = "time"

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

const string iT.PunchRotation.x = "x"

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

const string iT.PunchRotation.y = "y"

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

const string iT.PunchRotation.z = "z"

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


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