Kerbal Space Program  1.12.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
Classes | Public Member Functions | Static Public Member Functions | Public Attributes | Static Public Attributes | Properties | List of all members
Planetarium Class Reference
Inheritance diagram for Planetarium:

Classes

struct  CelestialFrame
 

Public Member Functions

void UpdateCBs ()
 Force an update of the celestial bodies without modifing the current time. More...
 

Static Public Member Functions

static bool FrameIsRotating ()
 
static double GetUniversalTime ()
 
static void SetUniversalTime (double t)
 
static Vector3d SphericalVector (double lat, double lon)
 Create a Z-up (ie, right-handed) vector pointing in the direction. More...
 
static void ZupAtT (double UT, CelestialBody body, ref CelestialFrame tempZup)
 

Public Attributes

CelestialBody CurrentMainBody
 
double fixedDeltaTime = 0.02
 
CelestialBody Home
 kerbin More...
 
double inverseRotAngle
 
List< OrbitDriverorbits
 
bool pause
 
QuaternionD rotation
 
CelestialBody Sun
 
double time
 
double timeScale = 1f
 

Static Public Attributes

static Planetarium fetch
 
static CelestialFrame Zup
 

Properties

static Vector3d forward [get]
 
static double InverseRotAngle [get, set]
 
static List< OrbitDriverOrbits [get]
 
static bool Pause [get]
 
static Vector3d right [get]
 
static QuaternionD Rotation [get, set]
 
static double TimeScale [get, set]
 
static Vector3d up [get]
 

Member Function Documentation

static bool Planetarium.FrameIsRotating ( )
inlinestatic
static double Planetarium.GetUniversalTime ( )
inlinestatic
static void Planetarium.SetUniversalTime ( double  t)
inlinestatic
static Vector3d Planetarium.SphericalVector ( double  lat,
double  lon 
)
inlinestatic

Create a Z-up (ie, right-handed) vector pointing in the direction.

void Planetarium.UpdateCBs ( )
inline

Force an update of the celestial bodies without modifing the current time.

static void Planetarium.ZupAtT ( double  UT,
CelestialBody  body,
ref CelestialFrame  tempZup 
)
inlinestatic

Member Data Documentation

CelestialBody Planetarium.CurrentMainBody
Planetarium Planetarium.fetch
static
double Planetarium.fixedDeltaTime = 0.02
CelestialBody Planetarium.Home

kerbin

double Planetarium.inverseRotAngle
List<OrbitDriver> Planetarium.orbits
bool Planetarium.pause
QuaternionD Planetarium.rotation
CelestialBody Planetarium.Sun
double Planetarium.time
double Planetarium.timeScale = 1f
CelestialFrame Planetarium.Zup
static

Property Documentation

Vector3d Planetarium.forward
staticget
double Planetarium.InverseRotAngle
staticgetset
List<OrbitDriver> Planetarium.Orbits
staticget
bool Planetarium.Pause
staticget
Vector3d Planetarium.right
staticget
QuaternionD Planetarium.Rotation
staticgetset
double Planetarium.TimeScale
staticgetset
Vector3d Planetarium.up
staticget

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