Kerbal Space Program  1.12.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
Public Types | Public Member Functions | Public Attributes | Properties | List of all members
Expansions.Missions.VesselGroundLocation Class Reference

Contains the Ground Location Parameters for a vessel in a mission More...

Inheritance diagram for Expansions.Missions.VesselGroundLocation:
IConfigNode

Public Types

enum  GizmoIcon {
  GizmoIcon.Rocket, GizmoIcon.AirCraft, GizmoIcon.Asteroid, GizmoIcon.Kerbal,
  GizmoIcon.LaunchSite, GizmoIcon.Flag, GizmoIcon.Comet
}
 

Public Member Functions

override bool Equals (object obj)
 
string GetExtraText ()
 Get extra text to be appended at the end of the node label caption. More...
 
override int GetHashCode ()
 
string GetNodeBodyParameterString ()
 Returns the string to be displayed when the parameter is displayed in the node body More...
 
Waypoint GetWaypoint ()
 Get the waypoint marker to show the location. More...
 
Vector3 GetWorldPosition ()
 Get location where the marker for the node should be displayed in world. More...
 
bool HasNodeLabel ()
 Should we create a node label for this object or not? More...
 
bool HasWaypoint ()
 Should we create a waypoint for this object or not? More...
 
void Load (ConfigNode node)
 
delegate void OnGizmoIconChangeDelegate (GizmoIcon gizmoIcon)
 
void Save (ConfigNode node)
 
List< MEGUIDropDownItemSetCelestialBodies ()
 
 VesselGroundLocation ()
 
 VesselGroundLocation (MENode node, GizmoIcon icon)
 

Public Attributes

double altitude
 altitude of the vessel More...
 
GizmoIcon gizmoIcon =GizmoIcon.Flag
 The type of surface gizmo that will be instantiated on the GAP More...
 
double latitude
 latitude of the vessel More...
 
double longitude
 longitude of the vessel More...
 
OnGizmoIconChangeDelegate OnGizmoIconChange
 
MissionQuaternion rotation
 the rotation of the vessel (relative to the terrain for landed vessels) More...
 
bool splashed
 Specifies if a vessel will be set to splashed if placed landed over water. More...
 
CelestialBody targetBody
 The Target CelestialBody for the vessel. Would be the one it is landed on, or in Orbit of. More...
 

Properties

GizmoIcon GAPGizmoIcon [get, set]
 

Detailed Description

Contains the Ground Location Parameters for a vessel in a mission

Member Enumeration Documentation

Enumerator
Rocket 
AirCraft 
Asteroid 
Kerbal 
LaunchSite 
Flag 
Comet 

Constructor & Destructor Documentation

Expansions.Missions.VesselGroundLocation.VesselGroundLocation ( )
inline
Expansions.Missions.VesselGroundLocation.VesselGroundLocation ( MENode  node,
GizmoIcon  icon 
)
inline

Member Function Documentation

override bool Expansions.Missions.VesselGroundLocation.Equals ( object  obj)
inline
string Expansions.Missions.VesselGroundLocation.GetExtraText ( )
inline

Get extra text to be appended at the end of the node label caption.

Returns
Text to be appended at the end of the node label caption.
override int Expansions.Missions.VesselGroundLocation.GetHashCode ( )
inline
string Expansions.Missions.VesselGroundLocation.GetNodeBodyParameterString ( )
inline

Returns the string to be displayed when the parameter is displayed in the node body

Returns
String to be displayed when the parameter is displayed in the node body,
Waypoint Expansions.Missions.VesselGroundLocation.GetWaypoint ( )
inline

Get the waypoint marker to show the location.

Returns
Waypoint marker representing the current location.
Vector3 Expansions.Missions.VesselGroundLocation.GetWorldPosition ( )
inline

Get location where the marker for the node should be displayed in world.

Returns
Location of the node.
bool Expansions.Missions.VesselGroundLocation.HasNodeLabel ( )
inline

Should we create a node label for this object or not?

Returns
True if we should create a node label, false otherwise.
bool Expansions.Missions.VesselGroundLocation.HasWaypoint ( )
inline

Should we create a waypoint for this object or not?

Returns
True if we should create a waypoint, false otherwise.
void Expansions.Missions.VesselGroundLocation.Load ( ConfigNode  node)
inline

Implements IConfigNode.

delegate void Expansions.Missions.VesselGroundLocation.OnGizmoIconChangeDelegate ( GizmoIcon  gizmoIcon)
void Expansions.Missions.VesselGroundLocation.Save ( ConfigNode  node)
inline

Implements IConfigNode.

List<MEGUIDropDownItem> Expansions.Missions.VesselGroundLocation.SetCelestialBodies ( )
inline

Member Data Documentation

double Expansions.Missions.VesselGroundLocation.altitude

altitude of the vessel

GizmoIcon Expansions.Missions.VesselGroundLocation.gizmoIcon =GizmoIcon.Flag

The type of surface gizmo that will be instantiated on the GAP

double Expansions.Missions.VesselGroundLocation.latitude

latitude of the vessel

double Expansions.Missions.VesselGroundLocation.longitude

longitude of the vessel

OnGizmoIconChangeDelegate Expansions.Missions.VesselGroundLocation.OnGizmoIconChange
MissionQuaternion Expansions.Missions.VesselGroundLocation.rotation

the rotation of the vessel (relative to the terrain for landed vessels)

bool Expansions.Missions.VesselGroundLocation.splashed

Specifies if a vessel will be set to splashed if placed landed over water.

CelestialBody Expansions.Missions.VesselGroundLocation.targetBody

The Target CelestialBody for the vessel. Would be the one it is landed on, or in Orbit of.

Property Documentation

GizmoIcon Expansions.Missions.VesselGroundLocation.GAPGizmoIcon
getset

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