Kerbal Space Program  1.12.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
Public Member Functions | Public Attributes | Properties | List of all members
KSP.UI.Screens.EditorActionGroups Class Reference
Inheritance diagram for KSP.UI.Screens.EditorActionGroups:

Public Member Functions

void ActivateInFlightInterface (Vessel ship)
 
void ActivateInterface (ShipConstruct ship)
 
void AddActionToGroup (EditorActionPartItem item)
 
void AddToSelection (EditorActionPartSelector s)
 
void ClearSelection (bool reconstruct)
 
void CloseGroup (int groupOverride)
 Collapse the specified override group actions list More...
 
void DeactivateInterface (ShipConstruct ship)
 
void DectivateInFlightInterface (Vessel ship)
 
List< PartGetSelectedParts ()
 
bool HasSelectedParts ()
 
void OnPointerEnter (PointerEventData eventData)
 
void OnPointerExit (PointerEventData eventData)
 
void RemoveActionFromGroup (EditorActionPartItem item)
 Remove a part Action from a Group More...
 
void ResetPart (EditorActionPartSelector selector)
 
bool SelectionContains (Part p)
 
void SetControlActionOverrideState (int groupOverride, bool on)
 Enable or disable the default override for the specified override group. Also selects the gorup More...
 
void SetControlAxisOverrideState (int groupOverride, bool on)
 Enable or disable the default override for the specified override group. Also selects the gorup More...
 
void SetGroupOverride (int groupOverride)
 Set the currently selected override group More...
 
void SetGroupOverrideState (int groupOverride, bool on)
 Enable or disable the default override for the specified override group. Also selects the gorup More...
 

Public Attributes

EditorActionControllerHeader actionControllerHeaderPrefab
 
EditorActionControllerOpenButton actionControllerOpenButtonPrefab
 
EditorActionController actionControllerPrefab
 
TMPro.TextMeshProUGUI actionGroupColumnHeaderPrefab
 
UISelectableGridLayoutGroup actionGroupList
 
EditorActionGroup actionGroupPrefab
 
EditorActionOverrideGroup actionOverrideGroupHeaderPrefab
 Prefab for the override group header More...
 
EditorActionOverrideToggle actionOverrideTogglePrefab
 Prefab for the override group default override toggle More...
 
Toggle additionalActionsToggle
 UI access to the "advanced" action groups game settings toggle More...
 
int currentSelectedIndex
 
TMPro.TextMeshProUGUI GroupActionsHeading
 
UISelectableGridLayoutGroup groupActionsList
 
GameObject groupPartActionPrefab
 GameObject prefab for the Action group action, it contains in it's children the EditorActionPartItem reference More...
 
EditorActionPartItem groupPartTitlePrefab
 
bool interfaceActive = false
 
bool isMouseOver
 True if Mouse is over the canvas group. More...
 
UISelectableGridLayoutGroup partActionList
 
EditorActionPartItem partActionPrefab
 
EditorActionPartReset partActionResetPrefab
 
EditorActionPartItem partActionTextPrefab
 
EditorActionPartItem partActionTitlePrefab
 
EditorActionOverrideGroup separatorGroupHeaderPrefab
 Prefab for the separator group header More...
 

Properties

static EditorActionGroups Instance [get, set]
 
KSPAxisGroup SelectedAxis [get]
 
KSPActionGroup SelectedGroup [get]
 

Member Function Documentation

void KSP.UI.Screens.EditorActionGroups.ActivateInFlightInterface ( Vessel  ship)
inline
void KSP.UI.Screens.EditorActionGroups.ActivateInterface ( ShipConstruct  ship)
inline
void KSP.UI.Screens.EditorActionGroups.AddActionToGroup ( EditorActionPartItem  item)
inline
void KSP.UI.Screens.EditorActionGroups.AddToSelection ( EditorActionPartSelector  s)
inline
void KSP.UI.Screens.EditorActionGroups.ClearSelection ( bool  reconstruct)
inline
void KSP.UI.Screens.EditorActionGroups.CloseGroup ( int  groupOverride)
inline

Collapse the specified override group actions list

void KSP.UI.Screens.EditorActionGroups.DeactivateInterface ( ShipConstruct  ship)
inline
void KSP.UI.Screens.EditorActionGroups.DectivateInFlightInterface ( Vessel  ship)
inline
List<Part> KSP.UI.Screens.EditorActionGroups.GetSelectedParts ( )
inline
bool KSP.UI.Screens.EditorActionGroups.HasSelectedParts ( )
inline
void KSP.UI.Screens.EditorActionGroups.OnPointerEnter ( PointerEventData  eventData)
inline
void KSP.UI.Screens.EditorActionGroups.OnPointerExit ( PointerEventData  eventData)
inline
void KSP.UI.Screens.EditorActionGroups.RemoveActionFromGroup ( EditorActionPartItem  item)
inline

Remove a part Action from a Group

Parameters
itemThe Part item that is to be removed from the Group
void KSP.UI.Screens.EditorActionGroups.ResetPart ( EditorActionPartSelector  selector)
inline
bool KSP.UI.Screens.EditorActionGroups.SelectionContains ( Part  p)
inline
void KSP.UI.Screens.EditorActionGroups.SetControlActionOverrideState ( int  groupOverride,
bool  on 
)
inline

Enable or disable the default override for the specified override group. Also selects the gorup

void KSP.UI.Screens.EditorActionGroups.SetControlAxisOverrideState ( int  groupOverride,
bool  on 
)
inline

Enable or disable the default override for the specified override group. Also selects the gorup

void KSP.UI.Screens.EditorActionGroups.SetGroupOverride ( int  groupOverride)
inline

Set the currently selected override group

void KSP.UI.Screens.EditorActionGroups.SetGroupOverrideState ( int  groupOverride,
bool  on 
)
inline

Enable or disable the default override for the specified override group. Also selects the gorup

Member Data Documentation

EditorActionControllerHeader KSP.UI.Screens.EditorActionGroups.actionControllerHeaderPrefab
EditorActionControllerOpenButton KSP.UI.Screens.EditorActionGroups.actionControllerOpenButtonPrefab
EditorActionController KSP.UI.Screens.EditorActionGroups.actionControllerPrefab
TMPro.TextMeshProUGUI KSP.UI.Screens.EditorActionGroups.actionGroupColumnHeaderPrefab
UISelectableGridLayoutGroup KSP.UI.Screens.EditorActionGroups.actionGroupList
EditorActionGroup KSP.UI.Screens.EditorActionGroups.actionGroupPrefab
EditorActionOverrideGroup KSP.UI.Screens.EditorActionGroups.actionOverrideGroupHeaderPrefab

Prefab for the override group header

EditorActionOverrideToggle KSP.UI.Screens.EditorActionGroups.actionOverrideTogglePrefab

Prefab for the override group default override toggle

Toggle KSP.UI.Screens.EditorActionGroups.additionalActionsToggle

UI access to the "advanced" action groups game settings toggle

int KSP.UI.Screens.EditorActionGroups.currentSelectedIndex
TMPro.TextMeshProUGUI KSP.UI.Screens.EditorActionGroups.GroupActionsHeading
UISelectableGridLayoutGroup KSP.UI.Screens.EditorActionGroups.groupActionsList
GameObject KSP.UI.Screens.EditorActionGroups.groupPartActionPrefab

GameObject prefab for the Action group action, it contains in it's children the EditorActionPartItem reference

EditorActionPartItem KSP.UI.Screens.EditorActionGroups.groupPartTitlePrefab
bool KSP.UI.Screens.EditorActionGroups.interfaceActive = false
bool KSP.UI.Screens.EditorActionGroups.isMouseOver

True if Mouse is over the canvas group.

UISelectableGridLayoutGroup KSP.UI.Screens.EditorActionGroups.partActionList
EditorActionPartItem KSP.UI.Screens.EditorActionGroups.partActionPrefab
EditorActionPartReset KSP.UI.Screens.EditorActionGroups.partActionResetPrefab
EditorActionPartItem KSP.UI.Screens.EditorActionGroups.partActionTextPrefab
EditorActionPartItem KSP.UI.Screens.EditorActionGroups.partActionTitlePrefab
EditorActionOverrideGroup KSP.UI.Screens.EditorActionGroups.separatorGroupHeaderPrefab

Prefab for the separator group header

Property Documentation

EditorActionGroups KSP.UI.Screens.EditorActionGroups.Instance
staticgetset
KSPAxisGroup KSP.UI.Screens.EditorActionGroups.SelectedAxis
get
KSPActionGroup KSP.UI.Screens.EditorActionGroups.SelectedGroup
get

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