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 | Protected Member Functions | List of all members
MapObject Class Reference
Inheritance diagram for MapObject:
ScaledMovement

Public Types

enum  ObjectType {
  ObjectType.Null, ObjectType.Generic, ObjectType.CelestialBody, ObjectType.Vessel,
  ObjectType.ManeuverNode, ObjectType.Periapsis, ObjectType.Apoapsis, ObjectType.AscendingNode,
  ObjectType.DescendingNode, ObjectType.ApproachIntersect, ObjectType.CelestialBodyAtUT, ObjectType.PatchTransition,
  ObjectType.MENode, ObjectType.Site
}
 

Public Member Functions

string GetDisplayName ()
 
string GetName ()
 
CelestialBody GetReferenceBody ()
 
void Terminate ()
 

Static Public Member Functions

static MapObject Create (string name, string displayName, Orbit orbit, ManeuverNode node)
 
static MapObject Create (string name, string displayName, Transform tgtRef, Orbit orbit, ObjectType type)
 
static MapObject Create (string name, string displayName, Orbit orbit, ObjectType type)
 

Public Attributes

CelestialBody celestialBody
 
IDiscoverable Discoverable
 
string DisplayName
 
LaunchSite launchSite
 
ManeuverNode maneuverNode
 
Expansions.Missions.MENode missionsNode
 
Orbit orbit
 
Transform tgtRef
 
Transform trf
 
ObjectType type = ObjectType.Null
 
MapNode uiNode
 
Vessel vessel
 This is the target vessel More...
 

Protected Member Functions

virtual void OnAwake ()
 
virtual string OnGetName ()
 
virtual void OnLateUpdate ()
 
virtual void OnStart ()
 
virtual void OnWillDestroy ()
 

Member Enumeration Documentation

Enumerator
Null 
Generic 
CelestialBody 
Vessel 
ManeuverNode 
Periapsis 
Apoapsis 
AscendingNode 
DescendingNode 
ApproachIntersect 
CelestialBodyAtUT 
PatchTransition 
MENode 
Site 

Member Function Documentation

static MapObject MapObject.Create ( string  name,
string  displayName,
Orbit  orbit,
ManeuverNode  node 
)
inlinestatic
static MapObject MapObject.Create ( string  name,
string  displayName,
Transform  tgtRef,
Orbit  orbit,
ObjectType  type 
)
inlinestatic
static MapObject MapObject.Create ( string  name,
string  displayName,
Orbit  orbit,
ObjectType  type 
)
inlinestatic
string MapObject.GetDisplayName ( )
inline
string MapObject.GetName ( )
inline
CelestialBody MapObject.GetReferenceBody ( )
inline
virtual void MapObject.OnAwake ( )
inlineprotectedvirtual
virtual string MapObject.OnGetName ( )
inlineprotectedvirtual
virtual void MapObject.OnLateUpdate ( )
inlineprotectedvirtual

Reimplemented in ScaledMovement.

virtual void MapObject.OnStart ( )
inlineprotectedvirtual
virtual void MapObject.OnWillDestroy ( )
inlineprotectedvirtual
void MapObject.Terminate ( )
inline

Member Data Documentation

CelestialBody MapObject.celestialBody
IDiscoverable MapObject.Discoverable
string MapObject.DisplayName
LaunchSite MapObject.launchSite
ManeuverNode MapObject.maneuverNode
Expansions.Missions.MENode MapObject.missionsNode
Orbit MapObject.orbit
Transform MapObject.tgtRef
Transform MapObject.trf
ObjectType MapObject.type = ObjectType.Null
MapNode MapObject.uiNode
Vessel MapObject.vessel

This is the target vessel


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