Kerbal Space Program  1.12.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
Public Member Functions | Public Attributes | Static Public Attributes | Protected Member Functions | List of all members
EditorVesselOverlays Class Reference

This class is used to manage the CoM, CoL, CoT vessel marker/overlays in the Editor scene. More...

Inheritance diagram for EditorVesselOverlays:

Public Member Functions

void ToggleCoL ()
 Toggle the CoL marker on/off More...
 
void ToggleCoM ()
 Toggle the CoM marker on/off More...
 
void ToggleCoT ()
 Toggle the CoT marker on/off More...
 

Public Attributes

EditorMarker_CoL CoLmarker
 CoL Marker Prefab. More...
 
EditorMarker_CoM CoMmarker
 CoM Marker Prefab. More...
 
EditorMarker_CoT CoTmarker
 CoT Marker Prefab. More...
 
float referenceAirSpeed
 The reference airspeed to use for CoL More...
 
float referencePitch
 The reference pitch to use for CoL/CoT More...
 
Button toggleCoLbtn
 This is the UI CoL toggle button. More...
 
Button toggleCoMbtn
 This is the UI CoM toggle button. More...
 
Button toggleCoTbtn
 This is the UI CoT toggle button. More...
 

Static Public Attributes

static EditorVesselOverlays fetch
 Singleton instance of this Class in the Editor scene. More...
 

Protected Member Functions

void Awake ()
 
void DisableMarkers ()
 
void OnDestroy ()
 
void OnEditorPartEvent (ConstructionEventType evt, Part p)
 
void OnEditorRestart ()
 
void Start ()
 
void Update ()
 

Detailed Description

This class is used to manage the CoM, CoL, CoT vessel marker/overlays in the Editor scene.

Member Function Documentation

void EditorVesselOverlays.Awake ( )
inlineprotected
void EditorVesselOverlays.DisableMarkers ( )
inlineprotected
void EditorVesselOverlays.OnDestroy ( )
inlineprotected
void EditorVesselOverlays.OnEditorPartEvent ( ConstructionEventType  evt,
Part  p 
)
inlineprotected
void EditorVesselOverlays.OnEditorRestart ( )
inlineprotected
void EditorVesselOverlays.Start ( )
inlineprotected
void EditorVesselOverlays.ToggleCoL ( )
inline

Toggle the CoL marker on/off

void EditorVesselOverlays.ToggleCoM ( )
inline

Toggle the CoM marker on/off

void EditorVesselOverlays.ToggleCoT ( )
inline

Toggle the CoT marker on/off

void EditorVesselOverlays.Update ( )
inlineprotected

Member Data Documentation

EditorMarker_CoL EditorVesselOverlays.CoLmarker

CoL Marker Prefab.

EditorMarker_CoM EditorVesselOverlays.CoMmarker

CoM Marker Prefab.

EditorMarker_CoT EditorVesselOverlays.CoTmarker

CoT Marker Prefab.

EditorVesselOverlays EditorVesselOverlays.fetch
static

Singleton instance of this Class in the Editor scene.

float EditorVesselOverlays.referenceAirSpeed

The reference airspeed to use for CoL

float EditorVesselOverlays.referencePitch

The reference pitch to use for CoL/CoT

Button EditorVesselOverlays.toggleCoLbtn

This is the UI CoL toggle button.

Button EditorVesselOverlays.toggleCoMbtn

This is the UI CoM toggle button.

Button EditorVesselOverlays.toggleCoTbtn

This is the UI CoT toggle button.


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