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

Public Member Functions

void AttachGizmo (GameObject gizmoPrefab, PatchedConicRenderer renderer)
 
void DetachGizmo ()
 
Vector3d GetBurnVector (Orbit currentOrbit)
 
Vector3d GetPartialDv ()
 Adjust the Vectorial DV of a node that partially changed, and tries to set the same orbit as before to reach it the (try) is because as soon as a vessel generates any dv, the "exact" same orbit may be no longer possible if not made properly. More...
 
void Load (ConfigNode node)
 
void OnGizmoUpdated (Vector3d dV, double ut)
 
void RemoveSelf ()
 
void Save (ConfigNode node)
 

Public Attributes

ManeuverGizmo attachedGizmo
 
Vector3d DeltaV
 
Quaternion nodeRotation
 
Orbit patch
 
bool refocusCamera = true
 
MapObject scaledSpaceTarget
 
PatchedConicSolver solver
 
double UT
 

Properties

double startBurnIn [get, set]
 

Member Function Documentation

void ManeuverNode.AttachGizmo ( GameObject  gizmoPrefab,
PatchedConicRenderer  renderer 
)
inline
void ManeuverNode.DetachGizmo ( )
inline
Vector3d ManeuverNode.GetBurnVector ( Orbit  currentOrbit)
inline
Vector3d ManeuverNode.GetPartialDv ( )
inline

Adjust the Vectorial DV of a node that partially changed, and tries to set the same orbit as before to reach it the (try) is because as soon as a vessel generates any dv, the "exact" same orbit may be no longer possible if not made properly.

Returns
the residual Dv as a vector3d of the node, Zero if patch or nextPatch is not found
void ManeuverNode.Load ( ConfigNode  node)
inline

Implements IConfigNode.

void ManeuverNode.OnGizmoUpdated ( Vector3d  dV,
double  ut 
)
inline
void ManeuverNode.RemoveSelf ( )
inline
void ManeuverNode.Save ( ConfigNode  node)
inline

Implements IConfigNode.

Member Data Documentation

ManeuverGizmo ManeuverNode.attachedGizmo
Vector3d ManeuverNode.DeltaV
Quaternion ManeuverNode.nodeRotation
Orbit ManeuverNode.patch
bool ManeuverNode.refocusCamera = true
MapObject ManeuverNode.scaledSpaceTarget
PatchedConicSolver ManeuverNode.solver
double ManeuverNode.UT

Property Documentation

double ManeuverNode.startBurnIn
getset

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