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 | List of all members
KSP.UI.UIWarpToNextMorning Class Reference
Inheritance diagram for KSP.UI.UIWarpToNextMorning:

Public Member Functions

void Setup (out double localTime, out double rotPeriod)
 Deprecated. Calculates the local time for sunrise based on a rotation period More...
 
void Setup (ref double timeToDaylight)
 Calculates the universal time for sunrise. Context-sensitive. More...
 
void WarpToMorning ()
 

Public Attributes

Button button
 

Static Public Attributes

static double timeOfDawn = 0.3
 

Member Function Documentation

void KSP.UI.UIWarpToNextMorning.Setup ( out double  localTime,
out double  rotPeriod 
)
inline

Deprecated. Calculates the local time for sunrise based on a rotation period

void KSP.UI.UIWarpToNextMorning.Setup ( ref double  timeToDaylight)
inline

Calculates the universal time for sunrise. Context-sensitive.

void KSP.UI.UIWarpToNextMorning.WarpToMorning ( )
inline

< We add sixty seconds to the daylight time to prevent having to click the button more than one time due to imprecision.

Member Data Documentation

Button KSP.UI.UIWarpToNextMorning.button
double KSP.UI.UIWarpToNextMorning.timeOfDawn = 0.3
static

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