Kerbal Space Program  1.12.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
Public Types | Public Member Functions | Public Attributes | Protected Member Functions | Properties | List of all members
Expansions.Missions.Editor.GAPUtil_CelestialBody Class Reference

This is the UI interface around the GAP for celestial bodies. More...

Inheritance diagram for Expansions.Missions.Editor.GAPUtil_CelestialBody:
GAPUtil_BiSelector

Public Types

enum  GAPUtilFilter { GAPUtilFilter.Vessels, GAPUtilFilter.LaunchSites, GAPUtilFilter.Objectives, GAPUtilFilter.Orbits }
 
enum  GAPUtilSlider {
  GAPUtilSlider.Zoom, GAPUtilSlider.Light, GAPUtilSlider.Simple, GAPUtilSlider.Double,
  GAPUtilSlider.None
}
 

Public Member Functions

void ClearEvents ()
 Clears the events suscribed to the UI components so they can be reused by a new state More...
 
void OnPointerDown (PointerEventData data)
 
void OnPointerUp (PointerEventData data)
 
delegate void OnSliderHovered ()
 
void Update ()
 
- Public Member Functions inherited from GAPUtil_BiSelector
TrackingStationObjectButton AddSidebarButton (string id, string icon, string toolTip, bool startState=false, int count=0)
 Creates a side bar button control More...
 
MEPartCategoryButton AddSidebarGAPButton (string id, string icon, string toolTip, bool startState=false, int count=0)
 Creates a side bar button control More...
 
void ClearSidebar ()
 Clean the side bar controls More...
 
TrackingStationObjectButton GetSidebarButton (string id)
 Get a tool bar button More...
 
MEPartCategoryButton GetSidebarGapButton (string id)
 Get a tool bar button More...
 
void SetFooterText (string newText)
 
void SetTitleText (string newText)
 

Public Attributes

Material biomeShaderMaterial
 
RectTransform containerLoadScreen
 
DoubleSlider doubleSlider
 
OnSliderHovered OnSliderHovered_Double
 
OnSliderHovered OnSliderHovered_Light
 
OnSliderHovered OnSliderHovered_Simple
 
OnSliderHovered OnSliderHovered_Zoom
 
float scrollStep = 0.1f
 
Slider sliderLight
 
Slider sliderSimple
 
Slider sliderZoom
 
TMPro.TMP_Text textLoading
 
- Public Attributes inherited from GAPUtil_BiSelector
GameObject containerFooter
 
GameObject containerLeftButtons
 
GameObject containerSelector
 
TMPro.TextMeshProUGUI footerText
 
Button leftButton
 
Button rightButton
 
Sprite sideBarDividerEndSprite
 
Sprite sideBarDividerSprite
 
Transform sideBarTransform
 
TMPro.TextMeshProUGUI titleText
 

Protected Member Functions

override void Awake ()
 

Properties

GAPUtilSlider HoveredSlider [get]
 

Additional Inherited Members

- Protected Attributes inherited from GAPUtil_BiSelector
Image lastDivider
 
DictionaryValueList< string,
TrackingStationObjectButton
sideBarControls
 
DictionaryValueList< string,
MEPartCategoryButton
sideBarGAPControls
 

Detailed Description

This is the UI interface around the GAP for celestial bodies.

Member Enumeration Documentation

Enumerator
Vessels 
LaunchSites 
Objectives 
Orbits 
Enumerator
Zoom 
Light 
Simple 
Double 
None 

Member Function Documentation

override void Expansions.Missions.Editor.GAPUtil_CelestialBody.Awake ( )
inlineprotectedvirtual

Reimplemented from GAPUtil_BiSelector.

void Expansions.Missions.Editor.GAPUtil_CelestialBody.ClearEvents ( )
inline

Clears the events suscribed to the UI components so they can be reused by a new state

void Expansions.Missions.Editor.GAPUtil_CelestialBody.OnPointerDown ( PointerEventData  data)
inline
void Expansions.Missions.Editor.GAPUtil_CelestialBody.OnPointerUp ( PointerEventData  data)
inline
delegate void Expansions.Missions.Editor.GAPUtil_CelestialBody.OnSliderHovered ( )
void Expansions.Missions.Editor.GAPUtil_CelestialBody.Update ( )
inline

Member Data Documentation

Material Expansions.Missions.Editor.GAPUtil_CelestialBody.biomeShaderMaterial
RectTransform Expansions.Missions.Editor.GAPUtil_CelestialBody.containerLoadScreen
DoubleSlider Expansions.Missions.Editor.GAPUtil_CelestialBody.doubleSlider
OnSliderHovered Expansions.Missions.Editor.GAPUtil_CelestialBody.OnSliderHovered_Double
OnSliderHovered Expansions.Missions.Editor.GAPUtil_CelestialBody.OnSliderHovered_Light
OnSliderHovered Expansions.Missions.Editor.GAPUtil_CelestialBody.OnSliderHovered_Simple
OnSliderHovered Expansions.Missions.Editor.GAPUtil_CelestialBody.OnSliderHovered_Zoom
float Expansions.Missions.Editor.GAPUtil_CelestialBody.scrollStep = 0.1f
Slider Expansions.Missions.Editor.GAPUtil_CelestialBody.sliderLight
Slider Expansions.Missions.Editor.GAPUtil_CelestialBody.sliderSimple
Slider Expansions.Missions.Editor.GAPUtil_CelestialBody.sliderZoom
TMPro.TMP_Text Expansions.Missions.Editor.GAPUtil_CelestialBody.textLoading

Property Documentation

GAPUtilSlider Expansions.Missions.Editor.GAPUtil_CelestialBody.HoveredSlider
get

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