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 | Protected Member Functions | List of all members
KSP.UI.Screens.Editor.PartListTooltipController Class Reference
Inheritance diagram for KSP.UI.Screens.Editor.PartListTooltipController:
KSP.UI.PinnableTooltipController KSP.UI.TooltipController KSP.UI.IPinnableTooltipController KSP.UI.ITooltipController KSP.UI.ITooltipController

Public Member Functions

override void OnPointerClick (PointerEventData eventData)
 
override void OnPointerEnter (PointerEventData eventData)
 
override bool OnTooltipAboutToDespawn ()
 
override bool OnTooltipAboutToSpawn ()
 
override void OnTooltipDespawned (Tooltip instance)
 
override void OnTooltipPinned ()
 
override void OnTooltipSpawned (Tooltip tooltip)
 
override void OnTooltipUnpinned ()
 
- Public Member Functions inherited from KSP.UI.PinnableTooltipController
bool IsPinned ()
 
override void OnPointerExit (PointerEventData eventData)
 
void Unpin ()
 
- Public Member Functions inherited from KSP.UI.TooltipController
virtual void OnAppFocus (bool focus)
 
virtual bool OnTooltipUpdate (Tooltip instance)
 

Static Public Member Functions

static void SetScreenSpaceMaskMaterials (Material[] materials)
 
static void SetupScreenSpaceMask (RectTransform uiImageTransform)
 

Public Attributes

bool isFlag
 True if this EditorPartIcon is a flag part. More...
 
PartListTooltip tooltipPrefab
 
- Public Attributes inherited from KSP.UI.TooltipController
bool RequireInteractable = true
 

Protected Member Functions

string GetTooltipHintText (PartListTooltip tooltip)
 
void OnButtonVariantToggle ()
 This one is for the local button in the tooltip More...
 
void onPurchase (PartListTooltip tTip)
 
void onPurchaseUpgrade (PartListTooltip tTip)
 
void onVariantToggle (PartVariant variant)
 This method is when the variant has changed from other source (the part icon in the selector in this case) More...
 
- Protected Member Functions inherited from KSP.UI.TooltipController
virtual void Awake ()
 
virtual void OnDestroy ()
 
virtual void OnDisable ()
 

Additional Inherited Members

- Protected Attributes inherited from KSP.UI.PinnableTooltipController
bool pinned = false
 
- Protected Attributes inherited from KSP.UI.TooltipController
Selectable selectableBase = null
 
- Properties inherited from KSP.UI.TooltipController
Tooltip TooltipPrefabInstance [get, set]
 
RectTransform TooltipPrefabInstanceTransform [get, set]
 
Tooltip TooltipPrefabType [get, set]
 
- Properties inherited from KSP.UI.ITooltipController
string name [get, set]
 
Tooltip TooltipPrefabInstance [get, set]
 
RectTransform TooltipPrefabInstanceTransform [get, set]
 
Tooltip TooltipPrefabType [get, set]
 

Member Function Documentation

string KSP.UI.Screens.Editor.PartListTooltipController.GetTooltipHintText ( PartListTooltip  tooltip)
inlineprotected
void KSP.UI.Screens.Editor.PartListTooltipController.OnButtonVariantToggle ( )
inlineprotected

This one is for the local button in the tooltip

override void KSP.UI.Screens.Editor.PartListTooltipController.OnPointerClick ( PointerEventData  eventData)
inlinevirtual

Reimplemented from KSP.UI.PinnableTooltipController.

override void KSP.UI.Screens.Editor.PartListTooltipController.OnPointerEnter ( PointerEventData  eventData)
inlinevirtual

Reimplemented from KSP.UI.PinnableTooltipController.

void KSP.UI.Screens.Editor.PartListTooltipController.onPurchase ( PartListTooltip  tTip)
inlineprotected
void KSP.UI.Screens.Editor.PartListTooltipController.onPurchaseUpgrade ( PartListTooltip  tTip)
inlineprotected
override bool KSP.UI.Screens.Editor.PartListTooltipController.OnTooltipAboutToDespawn ( )
inlinevirtual

Reimplemented from KSP.UI.TooltipController.

override bool KSP.UI.Screens.Editor.PartListTooltipController.OnTooltipAboutToSpawn ( )
inlinevirtual

Reimplemented from KSP.UI.TooltipController.

override void KSP.UI.Screens.Editor.PartListTooltipController.OnTooltipDespawned ( Tooltip  instance)
inlinevirtual

Reimplemented from KSP.UI.TooltipController.

override void KSP.UI.Screens.Editor.PartListTooltipController.OnTooltipPinned ( )
inlinevirtual

Reimplemented from KSP.UI.PinnableTooltipController.

override void KSP.UI.Screens.Editor.PartListTooltipController.OnTooltipSpawned ( Tooltip  tooltip)
inlinevirtual

Reimplemented from KSP.UI.TooltipController.

override void KSP.UI.Screens.Editor.PartListTooltipController.OnTooltipUnpinned ( )
inlinevirtual

Reimplemented from KSP.UI.PinnableTooltipController.

void KSP.UI.Screens.Editor.PartListTooltipController.onVariantToggle ( PartVariant  variant)
inlineprotected

This method is when the variant has changed from other source (the part icon in the selector in this case)

Parameters
variantThe new variant to display
static void KSP.UI.Screens.Editor.PartListTooltipController.SetScreenSpaceMaskMaterials ( Material[]  materials)
inlinestatic
static void KSP.UI.Screens.Editor.PartListTooltipController.SetupScreenSpaceMask ( RectTransform  uiImageTransform)
inlinestatic

Member Data Documentation

bool KSP.UI.Screens.Editor.PartListTooltipController.isFlag

True if this EditorPartIcon is a flag part.

PartListTooltip KSP.UI.Screens.Editor.PartListTooltipController.tooltipPrefab

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