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

Public Member Functions

IEnumerator Start ()
 
void UpdateMap (bool forceUpdate=false)
 

Static Public Member Functions

static void EnterMapView ()
 
static void ExitMapView ()
 
static float GetEccOffset (float eccOffset, float ecc, float eccOffsetPower)
 

Public Attributes

bool ConstantMode
 
Material dottedLineMaterial
 
GameObject maneuverNodePrefab
 
float max3DlineDrawDist = 1500f
 
Texture2D orbitIconsMap
 
Material orbitIconsMaterial
 
GUISkin orbitIconsTextSkin
 
UISkinDefSO orbitIconsTextSkinDef
 
Material orbitLinesMaterial
 
Color[] patchColors
 
MapObject scaledVessel
 
MonoBehaviour[] scriptsToDisable
 
List< SiteNodesiteNodes
 List of SiteNodes that exist More...
 
Color[] targetPatchColors
 
float transitionDuration = 1f
 
Camera[] uiCameras
 
MapNode uiNodePrefab
 

Static Public Attributes

static int displayedOrbits
 
static Material DottedLineMaterialStatic = null
 
static Callback OnEnterMapView = () => { }
 
static Callback OnExitMapView = () => { }
 
static Material OrbitLinesMaterialStatic = null
 
static bool ReportMapAsDisabled = false
 

Protected Member Functions

Camera createMapFXCamera (int depthOffset, float nearPlane, float farPlane)
 
Camera CreateVectorCanvasCam ()
 

Protected Attributes

bool draw3Dlines
 
Camera mapFxCameraNear
 
bool started
 
bool updateMap
 

Properties

static Material DottedLinesMaterial [get]
 
static bool Draw3DLines [get]
 
static MapView fetch [get, set]
 
static bool HighOrbitCountMode [get]
 
static bool ManeuverModeActive [get]
 
static GameObject ManeuverNodePrefab [get]
 
static PlanetariumCamera MapCamera [get]
 
static bool MapIsEnabled [get, set]
 
static Texture2D OrbitIconsMap [get]
 
static Material OrbitIconsMaterial [get]
 
static GUISkin OrbitIconsTextSkin [get]
 
static UISkinDef OrbitIconsTextSkinDef [get]
 
static Material OrbitLinesMaterial [get]
 
static Color[] PatchColors [get]
 
static AnimationCurve SplineEccentricOffset [get]
 
static Color[] TargetPatchColors [get]
 
static MapNode UINodePrefab [get]
 
Camera VectorCamera [get]
 

Member Function Documentation

Camera MapView.createMapFXCamera ( int  depthOffset,
float  nearPlane,
float  farPlane 
)
inlineprotected

< map fx layer

Camera MapView.CreateVectorCanvasCam ( )
inlineprotected
static void MapView.EnterMapView ( )
inlinestatic
static void MapView.ExitMapView ( )
inlinestatic
static float MapView.GetEccOffset ( float  eccOffset,
float  ecc,
float  eccOffsetPower 
)
inlinestatic
IEnumerator MapView.Start ( )
inline
void MapView.UpdateMap ( bool  forceUpdate = false)
inline

< Should count the active orbit only ?

Member Data Documentation

bool MapView.ConstantMode
int MapView.displayedOrbits
static
Material MapView.dottedLineMaterial
Material MapView.DottedLineMaterialStatic = null
static
bool MapView.draw3Dlines
protected
GameObject MapView.maneuverNodePrefab
Camera MapView.mapFxCameraNear
protected
float MapView.max3DlineDrawDist = 1500f
Callback MapView.OnEnterMapView = () => { }
static
Callback MapView.OnExitMapView = () => { }
static
Texture2D MapView.orbitIconsMap
Material MapView.orbitIconsMaterial
GUISkin MapView.orbitIconsTextSkin
UISkinDefSO MapView.orbitIconsTextSkinDef
Material MapView.orbitLinesMaterial
Material MapView.OrbitLinesMaterialStatic = null
static
Color [] MapView.patchColors
bool MapView.ReportMapAsDisabled = false
static
MapObject MapView.scaledVessel
MonoBehaviour [] MapView.scriptsToDisable
List<SiteNode> MapView.siteNodes

List of SiteNodes that exist

bool MapView.started
protected
Color [] MapView.targetPatchColors
float MapView.transitionDuration = 1f
Camera [] MapView.uiCameras
MapNode MapView.uiNodePrefab
bool MapView.updateMap
protected

Property Documentation

Material MapView.DottedLinesMaterial
staticget
bool MapView.Draw3DLines
staticget
MapView MapView.fetch
staticgetset
bool MapView.HighOrbitCountMode
staticget
bool MapView.ManeuverModeActive
staticget
GameObject MapView.ManeuverNodePrefab
staticget
PlanetariumCamera MapView.MapCamera
staticget
bool MapView.MapIsEnabled
staticgetset
Texture2D MapView.OrbitIconsMap
staticget
Material MapView.OrbitIconsMaterial
staticget
GUISkin MapView.OrbitIconsTextSkin
staticget
UISkinDef MapView.OrbitIconsTextSkinDef
staticget
Material MapView.OrbitLinesMaterial
staticget
Color [] MapView.PatchColors
staticget
AnimationCurve MapView.SplineEccentricOffset
staticget
Color [] MapView.TargetPatchColors
staticget
MapNode MapView.UINodePrefab
staticget
Camera MapView.VectorCamera
get

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