KSP API
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Properties
Public Member Functions | Static Public Member Functions | Public Attributes | Static Public Attributes | Properties | List of all members
MapView Class Reference

This class stores some global information related to the map view. More...

Inheritance diagram for MapView:

Public Member Functions

 MapView ()
 

Static Public Member Functions

static void EnterMapView ()
 Calling this function will cause the game to switch to map view from the flight view. More...
 
static void ExitMapView ()
 Calling this function will cause the game to switch to flight view from the map view. More...
 

Public Attributes

float camDistance
 
int camFocusTarget
 
float camHdg
 
float camPitch
 
bool ConstantMode
 
Material dottedLineMaterial
 
bool draw3Dlines
 
FlightCamera mainCamera
 
Camera[] mainCameras
 
bool maneuverModeActive
 
ScreenSafeUIButton maneuverModeToggle
 
GameObject maneuverNodePrefab
 
PlanetariumCamera mapCamera
 
ScreenSafeUISlideTab MapCollapse_navBall
 
float masterOrbitOpacity
 
float max3DlineDrawDist
 
ScreenSafeUIStateButton orbitDrawModeBtn
 
Texture2D orbitIconsMap
 
Material orbitIconsMaterial
 
GUISkin orbitIconsTextSkin
 
Material orbitLinesMaterial
 
Color[] patchColors
 
MonoBehaviour[] scriptsToDisable
 
Transform spaceCameraHome
 
float transitionDuration
 
Camera[] uiCameras
 
Camera vectorCam
 

Static Public Attributes

static int culledCaptions
 
static MapView fetch
 
static float MapIconTextOverlap
 
static bool MapIsEnabled
 Whether the game is currently in map view or not. More...
 
static Callback OnEnterMapView
 
static Callback OnExitMapView
 
static int totalCaptions
 

Properties

static Material DottedLinesMaterial [get]
 
static bool Draw3DLines [get]
 
static bool ManeuverModeActive [get]
 
static GameObject ManeuverNodePrefab [get]
 
static PlanetariumCamera MapCamera [get]
 
static int OrbitDrawMode [get]
 
static Texture2D OrbitIconsMap [get]
 
static Material OrbitIconsMaterial [get]
 
static GUISkin OrbitIconsTextSkin [get]
 
static Material OrbitLinesMaterial [get]
 
static Color[] PatchColors [get]
 

Detailed Description

This class stores some global information related to the map view.

Constructor & Destructor Documentation

MapView.MapView ( )

Member Function Documentation

static void MapView.EnterMapView ( )
static

Calling this function will cause the game to switch to map view from the flight view.

static void MapView.ExitMapView ( )
static

Calling this function will cause the game to switch to flight view from the map view.

Member Data Documentation

float MapView.camDistance
int MapView.camFocusTarget
float MapView.camHdg
float MapView.camPitch
bool MapView.ConstantMode
int MapView.culledCaptions
static
Material MapView.dottedLineMaterial
bool MapView.draw3Dlines
MapView MapView.fetch
static
FlightCamera MapView.mainCamera
Camera [] MapView.mainCameras
bool MapView.maneuverModeActive
ScreenSafeUIButton MapView.maneuverModeToggle
GameObject MapView.maneuverNodePrefab
PlanetariumCamera MapView.mapCamera
ScreenSafeUISlideTab MapView.MapCollapse_navBall
float MapView.MapIconTextOverlap
static
bool MapView.MapIsEnabled
static

Whether the game is currently in map view or not.

float MapView.masterOrbitOpacity
float MapView.max3DlineDrawDist
Callback MapView.OnEnterMapView
static
Callback MapView.OnExitMapView
static
ScreenSafeUIStateButton MapView.orbitDrawModeBtn
Texture2D MapView.orbitIconsMap
Material MapView.orbitIconsMaterial
GUISkin MapView.orbitIconsTextSkin
Material MapView.orbitLinesMaterial
Color [] MapView.patchColors
MonoBehaviour [] MapView.scriptsToDisable
Transform MapView.spaceCameraHome
int MapView.totalCaptions
static
float MapView.transitionDuration
Camera [] MapView.uiCameras
Camera MapView.vectorCam

Property Documentation

Material MapView.DottedLinesMaterial
staticget
bool MapView.Draw3DLines
staticget
bool MapView.ManeuverModeActive
staticget
GameObject MapView.ManeuverNodePrefab
staticget
PlanetariumCamera MapView.MapCamera
staticget
int MapView.OrbitDrawMode
staticget
Texture2D MapView.OrbitIconsMap
staticget
Material MapView.OrbitIconsMaterial
staticget
GUISkin MapView.OrbitIconsTextSkin
staticget
Material MapView.OrbitLinesMaterial
staticget
Color [] MapView.PatchColors
staticget

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