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 | Properties | List of all members
VehiclePhysics.VPPerformanceDisplay Class Reference
Inheritance diagram for VehiclePhysics.VPPerformanceDisplay:
VehiclePhysics.VehicleBehaviour

Public Types

enum  Chart {
  Chart.Essentials, Chart.Accelerations, Chart.Engine, Chart.Wheelspin,
  Chart.SuspensionTravel, Chart.WheelLoad, Chart.Custom
}
 
enum  ViewportMode { ViewportMode.Small, ViewportMode.Large }
 

Public Member Functions

override void FixedUpdateVehicle ()
 
override int GetUpdateOrder ()
 
void HorizontalPan (float panRateAndDir)
 
void HorizontalZoom (float zoomRateAndDir)
 
bool IsRecording ()
 
void NextChart ()
 
override void OnDisableComponent ()
 
override void OnEnableComponent ()
 
void PrevChart ()
 
void ResetView ()
 
void StartRecord ()
 
void StopRecord ()
 
void ToggleRecord ()
 
void ToggleViewMode ()
 
void VerticalPan (float panRateAndDir)
 
void VerticalZoom (float zoomRateAndDir)
 
 VPPerformanceDisplay ()
 
- Public Member Functions inherited from VehiclePhysics.VehicleBehaviour
void DebugLogError (string message)
 
void DebugLogWarning (string message)
 
virtual void OnDisableVehicle ()
 
virtual void OnEnableVehicle ()
 
virtual void OnEnterPause ()
 
virtual void OnLeavePause ()
 
virtual void OnReposition ()
 
virtual void UpdateVehicle ()
 
virtual void UpdateVehicleSuspension ()
 

Public Attributes

Chart chart = Chart.Essentials
 
float dataRecordingTime = 60.0f
 
KeyCode downPanAndZoomKey = KeyCode.Keypad2
 
Font font
 
DataLogger.DisplaySettings largeDisplay
 
KeyCode leftPanAndZoomKey = KeyCode.Keypad4
 
KeyCode nextChartKey = KeyCode.KeypadPlus
 
float panRate = 0.5f
 
KeyCode prevChartKey = KeyCode.KeypadMinus
 
ReferenceSpecs referenceSpecs = new ReferenceSpecs()
 
float refreshInterval = 0.02f
 
KeyCode resetViewKey = KeyCode.Keypad5
 
KeyCode rightPanAndZoomKey = KeyCode.Keypad6
 
DataLogger.DisplaySettings smallDisplay
 
bool startRecording = false
 
Color textColor = Color.white
 
KeyCode toggleRecordKey = KeyCode.Keypad0
 
KeyCode toggleViewModeKey = KeyCode.KeypadPeriod
 
KeyCode upPanAndZoomKey = KeyCode.Keypad8
 
ViewportMode viewMode = ViewportMode.Small
 
bool visible = true
 
float zoomRate = 1.0f
 

Properties

PerformanceChart customChart [get, set]
 
- Properties inherited from VehiclePhysics.VehicleBehaviour
VehicleBase vehicle [get, set]
 

Additional Inherited Members

- Protected Member Functions inherited from VehiclePhysics.VehicleBehaviour
virtual VehicleBase GetVehicle ()
 

Member Enumeration Documentation

Enumerator
Essentials 
Accelerations 
Engine 
Wheelspin 
SuspensionTravel 
WheelLoad 
Custom 
Enumerator
Small 
Large 

Constructor & Destructor Documentation

VehiclePhysics.VPPerformanceDisplay.VPPerformanceDisplay ( )
inline

Member Function Documentation

override void VehiclePhysics.VPPerformanceDisplay.FixedUpdateVehicle ( )
inlinevirtual

Reimplemented from VehiclePhysics.VehicleBehaviour.

override int VehiclePhysics.VPPerformanceDisplay.GetUpdateOrder ( )
inlinevirtual

Reimplemented from VehiclePhysics.VehicleBehaviour.

void VehiclePhysics.VPPerformanceDisplay.HorizontalPan ( float  panRateAndDir)
inline
void VehiclePhysics.VPPerformanceDisplay.HorizontalZoom ( float  zoomRateAndDir)
inline
bool VehiclePhysics.VPPerformanceDisplay.IsRecording ( )
inline
void VehiclePhysics.VPPerformanceDisplay.NextChart ( )
inline
override void VehiclePhysics.VPPerformanceDisplay.OnDisableComponent ( )
inlinevirtual

Reimplemented from VehiclePhysics.VehicleBehaviour.

override void VehiclePhysics.VPPerformanceDisplay.OnEnableComponent ( )
inlinevirtual

Reimplemented from VehiclePhysics.VehicleBehaviour.

void VehiclePhysics.VPPerformanceDisplay.PrevChart ( )
inline
void VehiclePhysics.VPPerformanceDisplay.ResetView ( )
inline
void VehiclePhysics.VPPerformanceDisplay.StartRecord ( )
inline
void VehiclePhysics.VPPerformanceDisplay.StopRecord ( )
inline
void VehiclePhysics.VPPerformanceDisplay.ToggleRecord ( )
inline
void VehiclePhysics.VPPerformanceDisplay.ToggleViewMode ( )
inline
void VehiclePhysics.VPPerformanceDisplay.VerticalPan ( float  panRateAndDir)
inline
void VehiclePhysics.VPPerformanceDisplay.VerticalZoom ( float  zoomRateAndDir)
inline

Member Data Documentation

Chart VehiclePhysics.VPPerformanceDisplay.chart = Chart.Essentials
float VehiclePhysics.VPPerformanceDisplay.dataRecordingTime = 60.0f
KeyCode VehiclePhysics.VPPerformanceDisplay.downPanAndZoomKey = KeyCode.Keypad2
Font VehiclePhysics.VPPerformanceDisplay.font
DataLogger.DisplaySettings VehiclePhysics.VPPerformanceDisplay.largeDisplay
KeyCode VehiclePhysics.VPPerformanceDisplay.leftPanAndZoomKey = KeyCode.Keypad4
KeyCode VehiclePhysics.VPPerformanceDisplay.nextChartKey = KeyCode.KeypadPlus
float VehiclePhysics.VPPerformanceDisplay.panRate = 0.5f
KeyCode VehiclePhysics.VPPerformanceDisplay.prevChartKey = KeyCode.KeypadMinus
ReferenceSpecs VehiclePhysics.VPPerformanceDisplay.referenceSpecs = new ReferenceSpecs()
float VehiclePhysics.VPPerformanceDisplay.refreshInterval = 0.02f
KeyCode VehiclePhysics.VPPerformanceDisplay.resetViewKey = KeyCode.Keypad5
KeyCode VehiclePhysics.VPPerformanceDisplay.rightPanAndZoomKey = KeyCode.Keypad6
DataLogger.DisplaySettings VehiclePhysics.VPPerformanceDisplay.smallDisplay
bool VehiclePhysics.VPPerformanceDisplay.startRecording = false
Color VehiclePhysics.VPPerformanceDisplay.textColor = Color.white
KeyCode VehiclePhysics.VPPerformanceDisplay.toggleRecordKey = KeyCode.Keypad0
KeyCode VehiclePhysics.VPPerformanceDisplay.toggleViewModeKey = KeyCode.KeypadPeriod
KeyCode VehiclePhysics.VPPerformanceDisplay.upPanAndZoomKey = KeyCode.Keypad8
ViewportMode VehiclePhysics.VPPerformanceDisplay.viewMode = ViewportMode.Small
bool VehiclePhysics.VPPerformanceDisplay.visible = true
float VehiclePhysics.VPPerformanceDisplay.zoomRate = 1.0f

Property Documentation

PerformanceChart VehiclePhysics.VPPerformanceDisplay.customChart
getset

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