Kerbal Space Program  1.12.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
Public Member Functions | Public Attributes | Static Public Attributes | Protected Member Functions | Protected Attributes | Properties | List of all members
ManeuverGizmoBase Class Reference
Inheritance diagram for ManeuverGizmoBase:
IMouseEvents Expansions.Missions.Editor.OrbitGizmo ManeuverGizmo

Public Member Functions

void ChangeToButtonMode ()
 
MonoBehaviour GetInstance ()
 
virtual void OnMouseDown ()
 
virtual void OnMouseDrag ()
 
virtual void OnMouseEnter ()
 
virtual void OnMouseExit ()
 
virtual void OnMouseUp ()
 
virtual void SetMouseOverGizmo (bool h)
 
virtual void Terminate ()
 

Public Attributes

Transform buttonRoot
 
new Camera camera
 
Transform[] cameraFacingBillboards
 
Vector3d DeltaV
 
Transform grabArea
 
ManeuverGizmoHandle handleAntiNormal
 
ManeuverGizmoHandle handleNormal
 
ManeuverGizmoHandle handlePrograde
 
ManeuverGizmoHandle handleRadialIn
 
ManeuverGizmoHandle handleRadialOut
 
ManeuverGizmoHandle handleRetrograde
 
Transform handlesRoot
 
double multiplier = 5f
 
Callback OnDelete = () => { }
 
Callback OnGizmoDraggedOff = () => { }
 
Callback OnMinimize = () => { }
 
float screenSize = 128f
 
double sensitivity = 2.0f
 
double UT
 

Static Public Attributes

static bool HasMouseFocus
 

Protected Member Functions

virtual void LateUpdate ()
 
virtual void OnAntinormalUpdate (float value)
 
virtual void OnNormalUpdate (float value)
 
virtual void OnProgradeUpdate (float value)
 
virtual void OnRadialInUpdate (float value)
 
virtual void OnRadialOutUpdate (float value)
 
virtual void OnRetrogradeUpdate (float value)
 
virtual void Start ()
 

Protected Attributes

bool buttonMode
 
Material grabMat
 
bool hover
 flags whether the mouse is over the gizmo center More...
 
bool mouseOverGizmo = false
 flags whether the mouse is over any part of the gizmo (including handles) More...
 
Color normal
 
float rootsLerpedScale
 
float rootsScale
 

Properties

bool MouseOverGizmo [get]
 

Member Function Documentation

void ManeuverGizmoBase.ChangeToButtonMode ( )
inline
MonoBehaviour ManeuverGizmoBase.GetInstance ( )
inline

Implements IMouseEvents.

virtual void ManeuverGizmoBase.LateUpdate ( )
inlineprotectedvirtual

Reimplemented in ManeuverGizmo.

virtual void ManeuverGizmoBase.OnAntinormalUpdate ( float  value)
inlineprotectedvirtual
virtual void ManeuverGizmoBase.OnMouseDown ( )
inlinevirtual

Implements IMouseEvents.

Reimplemented in ManeuverGizmo.

virtual void ManeuverGizmoBase.OnMouseDrag ( )
inlinevirtual
virtual void ManeuverGizmoBase.OnMouseEnter ( )
inlinevirtual

Implements IMouseEvents.

virtual void ManeuverGizmoBase.OnMouseExit ( )
inlinevirtual

Implements IMouseEvents.

virtual void ManeuverGizmoBase.OnMouseUp ( )
inlinevirtual
virtual void ManeuverGizmoBase.OnNormalUpdate ( float  value)
inlineprotectedvirtual
virtual void ManeuverGizmoBase.OnProgradeUpdate ( float  value)
inlineprotectedvirtual
virtual void ManeuverGizmoBase.OnRadialInUpdate ( float  value)
inlineprotectedvirtual
virtual void ManeuverGizmoBase.OnRadialOutUpdate ( float  value)
inlineprotectedvirtual
virtual void ManeuverGizmoBase.OnRetrogradeUpdate ( float  value)
inlineprotectedvirtual
virtual void ManeuverGizmoBase.SetMouseOverGizmo ( bool  h)
inlinevirtual

Reimplemented in ManeuverGizmo.

virtual void ManeuverGizmoBase.Start ( )
inlineprotectedvirtual
virtual void ManeuverGizmoBase.Terminate ( )
inlinevirtual

Member Data Documentation

bool ManeuverGizmoBase.buttonMode
protected
Transform ManeuverGizmoBase.buttonRoot
new Camera ManeuverGizmoBase.camera
Transform [] ManeuverGizmoBase.cameraFacingBillboards
Vector3d ManeuverGizmoBase.DeltaV
Transform ManeuverGizmoBase.grabArea
Material ManeuverGizmoBase.grabMat
protected
ManeuverGizmoHandle ManeuverGizmoBase.handleAntiNormal
ManeuverGizmoHandle ManeuverGizmoBase.handleNormal
ManeuverGizmoHandle ManeuverGizmoBase.handlePrograde
ManeuverGizmoHandle ManeuverGizmoBase.handleRadialIn
ManeuverGizmoHandle ManeuverGizmoBase.handleRadialOut
ManeuverGizmoHandle ManeuverGizmoBase.handleRetrograde
Transform ManeuverGizmoBase.handlesRoot
bool ManeuverGizmoBase.HasMouseFocus
static
bool ManeuverGizmoBase.hover
protected

flags whether the mouse is over the gizmo center

bool ManeuverGizmoBase.mouseOverGizmo = false
protected

flags whether the mouse is over any part of the gizmo (including handles)

double ManeuverGizmoBase.multiplier = 5f
Color ManeuverGizmoBase.normal
protected
Callback ManeuverGizmoBase.OnDelete = () => { }
Callback ManeuverGizmoBase.OnGizmoDraggedOff = () => { }
Callback ManeuverGizmoBase.OnMinimize = () => { }
float ManeuverGizmoBase.rootsLerpedScale
protected
float ManeuverGizmoBase.rootsScale
protected
float ManeuverGizmoBase.screenSize = 128f
double ManeuverGizmoBase.sensitivity = 2.0f
double ManeuverGizmoBase.UT

Property Documentation

bool ManeuverGizmoBase.MouseOverGizmo
get

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