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

Public Types

enum  SolarSystemCB {
  SolarSystemCB.None, SolarSystemCB.Sun, SolarSystemCB.Moho, SolarSystemCB.Eve,
  SolarSystemCB.Gilly, SolarSystemCB.Kerbin, SolarSystemCB.Mun, SolarSystemCB.Minmus,
  SolarSystemCB.Duna, SolarSystemCB.Ike, SolarSystemCB.Dres, SolarSystemCB.Jool,
  SolarSystemCB.Laythe, SolarSystemCB.Vall, SolarSystemCB.Tylo, SolarSystemCB.Bop,
  SolarSystemCB.Pol, SolarSystemCB.Eeloo
}
 
enum  TeleportMode { TeleportMode.None, TeleportMode.Orbit, TeleportMode.Surface }
 

Public Member Functions

string GetCBMapTexturePath (SolarSystemCB scb)
 

Static Public Member Functions

static void Init ()
 

Public Attributes

bool[] hasSurface
 

Static Public Attributes

static string[] mapFiles
 

Protected Member Functions

double GetAltitudeFromLatLon (double lat, double lon, CelestialBody cb)
 
Texture GetCBMap (VesselTeleporter.SolarSystemCB sscb)
 
void GoToSurface (CelestialBody cbDest, Vector3d dstSrfCoords, Vessel v)
 
void OnGUI ()
 
void OnInit ()
 
void SelectDestination (VesselTeleporter.SolarSystemCB sscb)
 
void Setup ()
 
void SetupTextures ()
 

Properties

Vessel v [get]
 

Member Enumeration Documentation

Enumerator
None 
Sun 
Moho 
Eve 
Gilly 
Kerbin 
Mun 
Minmus 
Duna 
Ike 
Dres 
Jool 
Laythe 
Vall 
Tylo 
Bop 
Pol 
Eeloo 
Enumerator
None 
Orbit 
Surface 

Member Function Documentation

double VesselTeleporter.GetAltitudeFromLatLon ( double  lat,
double  lon,
CelestialBody  cb 
)
inlineprotected
Texture VesselTeleporter.GetCBMap ( VesselTeleporter.SolarSystemCB  sscb)
inlineprotected
string VesselTeleporter.GetCBMapTexturePath ( SolarSystemCB  scb)
inline
void VesselTeleporter.GoToSurface ( CelestialBody  cbDest,
Vector3d  dstSrfCoords,
Vessel  v 
)
inlineprotected
static void VesselTeleporter.Init ( )
inlinestatic
void VesselTeleporter.OnGUI ( )
inlineprotected
void VesselTeleporter.OnInit ( )
inlineprotected
void VesselTeleporter.SelectDestination ( VesselTeleporter.SolarSystemCB  sscb)
inlineprotected
void VesselTeleporter.Setup ( )
inlineprotected
void VesselTeleporter.SetupTextures ( )
inlineprotected

Member Data Documentation

bool [] VesselTeleporter.hasSurface
Initial value:
= {
false,
false,
true,
true,
true,
true,
true,
true,
true,
true,
true,
false,
true,
true,
true,
true,
true,
true
}
string [] VesselTeleporter.mapFiles
static
Initial value:
= {
String.Empty,
"sunnoisenew.psd",
"moho00.png",
"eve2_00.png",
"evemoon100.png",
"KerbinScaledSpace300.png",
"NewMunSurfaceMapDiffuse.png",
"NewMunSurfaceMap00.png",
"Duna5_00.png",
"desertplanetmoon00.png",
"dwarfplanet100.png",
"gas1_clouds.png",
"newoceanmoon00.png",
"gp1icemoon00.png",
"rockyMoon00.png",
"gp1minormoon100.png",
"gp1minormoon200.png",
"snowydwarfplanet00.png"
}

Property Documentation

Vessel VesselTeleporter.v
get

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