Kerbal Space Program  1.12.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
Public Types | Public Member Functions | Public Attributes | List of all members
EdyCommonTools.PositionController Class Reference
Inheritance diagram for EdyCommonTools.PositionController:

Public Types

enum  Mode { Mode.Free, Mode.FixedToTarget }
 

Public Member Functions

delegate void OnPositionFinished ()
 
void ResetPosition (Vector3 newPosition)
 

Public Attributes

bool clamped
 
bool damped = true
 
float damping = 8.0f
 
Bounds limits = new Bounds(Vector3.zero, Vector3.one*10.0f)
 
Mode mode
 
OnPositionFinished onPositionFinished
 
Vector3 position
 
Transform target
 
Vector3 targetOffset
 

Member Enumeration Documentation

Enumerator
Free 
FixedToTarget 

Member Function Documentation

delegate void EdyCommonTools.PositionController.OnPositionFinished ( )
void EdyCommonTools.PositionController.ResetPosition ( Vector3  newPosition)
inline

Member Data Documentation

bool EdyCommonTools.PositionController.clamped
bool EdyCommonTools.PositionController.damped = true
float EdyCommonTools.PositionController.damping = 8.0f
Bounds EdyCommonTools.PositionController.limits = new Bounds(Vector3.zero, Vector3.one*10.0f)
Mode EdyCommonTools.PositionController.mode
OnPositionFinished EdyCommonTools.PositionController.onPositionFinished
Vector3 EdyCommonTools.PositionController.position
Transform EdyCommonTools.PositionController.target
Vector3 EdyCommonTools.PositionController.targetOffset

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