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

Randomly shakes a GameObject's position by a diminishing amount over time 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 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. (only "loop" is allowed with shakes) 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 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

Randomly shakes a GameObject's position by a diminishing amount over time with FULL customization options.

Member Data Documentation

const string iT.ShakePosition.amount = "amount"

A Vector3 for the magnitude of shake.

const string iT.ShakePosition.delay = "delay"

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

const string iT.ShakePosition.looktarget = "looktarget"

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

const string iT.ShakePosition.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.ShakePosition.looptype = "looptype"

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

const string iT.ShakePosition.oncomplete = "oncomplete"

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

const string iT.ShakePosition.oncompleteparams = "oncompleteparams"

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

const string iT.ShakePosition.oncompletetarget = "oncompletetarget"

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

const string iT.ShakePosition.onstart = "onstart"

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

const string iT.ShakePosition.onstartparams = "onstartparams"

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

const string iT.ShakePosition.onstarttarget = "onstarttarget"

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

const string iT.ShakePosition.onupdate = "onupdate"

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

const string iT.ShakePosition.onupdateparams = "onupdateparams"

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

const string iT.ShakePosition.onupdatetarget = "onupdatetarget"

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

const string iT.ShakePosition.orienttopath = "orienttopath"

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

const string iT.ShakePosition.space = "space"

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

const string iT.ShakePosition.time = "time"

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

const string iT.ShakePosition.x = "x"

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

const string iT.ShakePosition.y = "y"

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

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