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

Public Member Functions

IntersectInformation GetInterceptValues ()
 
override bool IsTabInteractable ()
 Is the tab interactible, override with custom logic where needed More...
 
override void SetInitialValues ()
 Assign the values to the UI elements that must be displayed ASAP More...
 
override void UpdateUIElements ()
 This method is called every updateCooldownSeconds so the tab content can be updated More...
 
- Public Member Functions inherited from ManeuverNodeEditorTab
void OnPointerEnter (PointerEventData evtData)
 
void OnPointerExit (PointerEventData evtData)
 
void setMouseOver (bool state)
 

Static Public Member Functions

static void CacheLocalStrings ()
 

Public Attributes

TMPro.TextMeshProUGUI intercept1DistanceLabel
 The altitude of the resulting apoapsis More...
 
TMPro.TextMeshProUGUI intercept1TimeLabel
 The time to the resulting apoapsis More...
 
TMPro.TextMeshProUGUI intercept2DistanceLabel
 The altitude of the resulting periapsis More...
 
TMPro.TextMeshProUGUI intercept2TimeLabel
 The time to the resulting periapsis More...
 
TMPro.TextMeshProUGUI phaseAngleLabel
 The phase angle text More...
 
- Public Attributes inherited from ManeuverNodeEditorTab
ManeuverNodeEditorManager mannodeEditorManager
 The reference to the maneuver node editor manager More...
 
Sprite tabIconOff
 The icon that will be displayed in the maneuver node editor for this tab, in off state More...
 
Sprite tabIconOn
 The icon that will be displayed in the maneuver node editor for this tab, in on state More...
 
bool tabManagesCaption = false
 If true, the tab takes care of updating the caption. If false, the manager does it More...
 
string tabName = ""
 A distinctive name for the panel More...
 
ManeuverNodeEditorTabPosition tabPosition
 Defines if the tab will be used to display information or to input values. More...
 
string tabTooltipCaptionActive
 The text that will be displayed in the maneuver node editor for this tab when you mouse over and the button is interactable More...
 
string tabTooltipCaptionInactive
 The text that will be displayed in the maneuver node editor for this tab when you mouse over and the button is not interactable More...
 
float updateCooldownSeconds = 1f
 The number of seconds to wait between UI Element updates in Update loops More...
 

Member Function Documentation

static void ManeuverNodeEditorTabIntercept.CacheLocalStrings ( )
inlinestatic
IntersectInformation ManeuverNodeEditorTabIntercept.GetInterceptValues ( )
inline
override bool ManeuverNodeEditorTabIntercept.IsTabInteractable ( )
inlinevirtual

Is the tab interactible, override with custom logic where needed

Reimplemented from ManeuverNodeEditorTab.

override void ManeuverNodeEditorTabIntercept.SetInitialValues ( )
inlinevirtual

Assign the values to the UI elements that must be displayed ASAP

Implements ManeuverNodeEditorTab.

override void ManeuverNodeEditorTabIntercept.UpdateUIElements ( )
inlinevirtual

This method is called every updateCooldownSeconds so the tab content can be updated

As most dont need to be done every frame

Implements ManeuverNodeEditorTab.

Member Data Documentation

TMPro.TextMeshProUGUI ManeuverNodeEditorTabIntercept.intercept1DistanceLabel

The altitude of the resulting apoapsis

TMPro.TextMeshProUGUI ManeuverNodeEditorTabIntercept.intercept1TimeLabel

The time to the resulting apoapsis

TMPro.TextMeshProUGUI ManeuverNodeEditorTabIntercept.intercept2DistanceLabel

The altitude of the resulting periapsis

TMPro.TextMeshProUGUI ManeuverNodeEditorTabIntercept.intercept2TimeLabel

The time to the resulting periapsis

TMPro.TextMeshProUGUI ManeuverNodeEditorTabIntercept.phaseAngleLabel

The phase angle text


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