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.PositionInput Class Reference
Inheritance diagram for EdyCommonTools.PositionInput:

Public Types

enum  InputSource { InputSource.StandardInput, InputSource.Messages }
 
enum  OutputPlane { OutputPlane.XZ, OutputPlane.XY, OutputPlane.ZY }
 

Public Member Functions

Vector3 MapToPlane (Vector2 v, Vector3 defaultPos)
 
void Move (Vector2 delta)
 
void OnMove (Vector2 delta)
 
void ResetDefaults ()
 

Public Attributes

Vector2 defaultPosition = Vector2.zero
 
string inputAxisX = "Mouse X"
 
string inputAxisY = "Mouse Y"
 
Vector2 inputSensitivity = Vector2.one
 
bool mouseButtonExclusive = false
 
int mouseButtonForDrag = -1
 
OutputPlane outputPlane = OutputPlane.XZ
 
InputSource source = InputSource.StandardInput
 
bool swapCoordinates = false
 

Member Enumeration Documentation

Enumerator
StandardInput 
Messages 
Enumerator
XZ 
XY 
ZY 

Member Function Documentation

Vector3 EdyCommonTools.PositionInput.MapToPlane ( Vector2  v,
Vector3  defaultPos 
)
inline
void EdyCommonTools.PositionInput.Move ( Vector2  delta)
inline
void EdyCommonTools.PositionInput.OnMove ( Vector2  delta)
inline
void EdyCommonTools.PositionInput.ResetDefaults ( )
inline

Member Data Documentation

Vector2 EdyCommonTools.PositionInput.defaultPosition = Vector2.zero
string EdyCommonTools.PositionInput.inputAxisX = "Mouse X"
string EdyCommonTools.PositionInput.inputAxisY = "Mouse Y"
Vector2 EdyCommonTools.PositionInput.inputSensitivity = Vector2.one
bool EdyCommonTools.PositionInput.mouseButtonExclusive = false
int EdyCommonTools.PositionInput.mouseButtonForDrag = -1
OutputPlane EdyCommonTools.PositionInput.outputPlane = OutputPlane.XZ
InputSource EdyCommonTools.PositionInput.source = InputSource.StandardInput
bool EdyCommonTools.PositionInput.swapCoordinates = false

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