Kerbal Space Program
1.12.4
|
This class is used to manage the CoM, CoL, CoT vessel marker/overlays in the Editor scene. More...
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 () |
This class is used to manage the CoM, CoL, CoT vessel marker/overlays in the Editor scene.
|
inlineprotected |
|
inlineprotected |
|
inlineprotected |
|
inlineprotected |
|
inlineprotected |
|
inlineprotected |
|
inline |
Toggle the CoL marker on/off
|
inline |
Toggle the CoM marker on/off
|
inline |
Toggle the CoT marker on/off
|
inlineprotected |
EditorMarker_CoL EditorVesselOverlays.CoLmarker |
CoL Marker Prefab.
EditorMarker_CoM EditorVesselOverlays.CoMmarker |
CoM Marker Prefab.
EditorMarker_CoT EditorVesselOverlays.CoTmarker |
CoT Marker Prefab.
|
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.