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

Public Member Functions

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

Public Attributes

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

virtual bool ManeuverNodeEditorTab.IsTabInteractable ( )
inlinevirtual

Is the tab interactible, override with custom logic where needed

Reimplemented in ManeuverNodeEditorTabIntercept, and ManeuverNodeEditorTabOrbitAdv.

void ManeuverNodeEditorTab.OnPointerEnter ( PointerEventData  evtData)
inline
void ManeuverNodeEditorTab.OnPointerExit ( PointerEventData  evtData)
inline
abstract void ManeuverNodeEditorTab.SetInitialValues ( )
pure virtual
void ManeuverNodeEditorTab.setMouseOver ( bool  state)
inline
abstract void ManeuverNodeEditorTab.UpdateUIElements ( )
pure virtual

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

As most dont need to be done every frame

Implemented in ManeuverNodeEditorTabIntercept, ManeuverNodeEditorTabVectorInput, ManeuverNodeEditorTabVectorHandles, ManeuverNodeEditorTabOrbitBasic, and ManeuverNodeEditorTabOrbitAdv.

Member Data Documentation

ManeuverNodeEditorManager ManeuverNodeEditorTab.mannodeEditorManager

The reference to the maneuver node editor manager

Sprite ManeuverNodeEditorTab.tabIconOff

The icon that will be displayed in the maneuver node editor for this tab, in off state

Sprite ManeuverNodeEditorTab.tabIconOn

The icon that will be displayed in the maneuver node editor for this tab, in on state

bool ManeuverNodeEditorTab.tabManagesCaption = false

If true, the tab takes care of updating the caption. If false, the manager does it

string ManeuverNodeEditorTab.tabName = ""

A distinctive name for the panel

ManeuverNodeEditorTabPosition ManeuverNodeEditorTab.tabPosition

Defines if the tab will be used to display information or to input values.

string ManeuverNodeEditorTab.tabTooltipCaptionActive

The text that will be displayed in the maneuver node editor for this tab when you mouse over and the button is interactable

string ManeuverNodeEditorTab.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

float ManeuverNodeEditorTab.updateCooldownSeconds = 1f

The number of seconds to wait between UI Element updates in Update loops


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