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
ManeuverNodeEditorTabVectorInput Class Reference
Inheritance diagram for ManeuverNodeEditorTabVectorInput:
ManeuverNodeEditorTab

Public Member Functions

void ChangeInputMode (bool state)
 
void OnDestroy ()
 
void OnTabToggleClicked (bool state)
 
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
virtual bool IsTabInteractable ()
 Is the tab interactible, override with custom logic where needed More...
 
void OnPointerEnter (PointerEventData evtData)
 
void OnPointerExit (PointerEventData evtData)
 
void setMouseOver (bool state)
 

Static Public Member Functions

static void CacheLocalStrings ()
 

Public Attributes

bool isEditing = false
 Flag indicating the maneuver node is being edited. More...
 
TMPro.TMP_InputField normalField
 Normal vector text input field More...
 
TMPro.TMP_InputField proRetrogradeField
 Pro/retrograde vector text input field More...
 
TMPro.TMP_InputField radialField
 Radial vector text input field More...
 
TMPro.TMP_InputField timeField
 UT text input field More...
 
TMPro.TextMeshProUGUI timeUnits
 UT text input field More...
 
Toggle utInputMode
 Select input mode UT in yy:dd:hh:mm:ss format, or seconds More...
 
bool UTMode = true
 Flag indicating the mode of the maneuver node time display More...
 
TooltipController_Text utTooltip
 UT toggle tooltip 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 ManeuverNodeEditorTabVectorInput.CacheLocalStrings ( )
inlinestatic
void ManeuverNodeEditorTabVectorInput.ChangeInputMode ( bool  state)
inline
void ManeuverNodeEditorTabVectorInput.OnDestroy ( )
inline
void ManeuverNodeEditorTabVectorInput.OnTabToggleClicked ( bool  state)
inline
override void ManeuverNodeEditorTabVectorInput.SetInitialValues ( )
inlinevirtual

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

Implements ManeuverNodeEditorTab.

override void ManeuverNodeEditorTabVectorInput.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

bool ManeuverNodeEditorTabVectorInput.isEditing = false

Flag indicating the maneuver node is being edited.

TMPro.TMP_InputField ManeuverNodeEditorTabVectorInput.normalField

Normal vector text input field

TMPro.TMP_InputField ManeuverNodeEditorTabVectorInput.proRetrogradeField

Pro/retrograde vector text input field

TMPro.TMP_InputField ManeuverNodeEditorTabVectorInput.radialField

Radial vector text input field

TMPro.TMP_InputField ManeuverNodeEditorTabVectorInput.timeField

UT text input field

TMPro.TextMeshProUGUI ManeuverNodeEditorTabVectorInput.timeUnits

UT text input field

Toggle ManeuverNodeEditorTabVectorInput.utInputMode

Select input mode UT in yy:dd:hh:mm:ss format, or seconds

bool ManeuverNodeEditorTabVectorInput.UTMode = true

Flag indicating the mode of the maneuver node time display

TooltipController_Text ManeuverNodeEditorTabVectorInput.utTooltip

UT toggle tooltip


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