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

Represents a maneuver node. More...

Public Member Functions

 ManeuverNode ()
 
void AttachGizmo (GameObject gizmoPrefab, PatchedConicRenderer renderer, PatchRendering pr)
 
void DetachGizmo ()
 
Vector3d GetBurnVector (Orbit currentOrbit)
 Perhaps this translates the DeltaV vector into a world-space vector? More...
 
void OnGizmoUpdated (Vector3d dV, double ut)
 You can call this function to change the delta-V and time of a maneuver node. More...
 
void RemoveSelf ()
 

Public Attributes

ManeuverGizmo attachedGizmo
 
Vector3d DeltaV
 The delta-V of the burn represented by this maneuver node, in m/s. NOTE: maneuver nodes use a special coordinate system for delta-V. The x-component of DeltaV represents the delta-V in the radial-plus direction. The y-component of DeltaV represents the delta-V in the normal-minus direction. The z-component of DeltaV represents the delta-V in the prograde direction. More...
 
Orbit nextPatch
 The orbit patch that starts at this maneuver node. More...
 
Quaternion nodeRotation
 
Orbit patch
 The orbit patch that ends at this maneuver node? More...
 
Transform scaledSpaceTarget
 
PatchedConicSolver solver
 
double UT
 The universal time of the burn represented by this maneuver node. More...
 

Detailed Description

Represents a maneuver node.

Constructor & Destructor Documentation

ManeuverNode.ManeuverNode ( )

Member Function Documentation

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

Perhaps this translates the DeltaV vector into a world-space vector?

Parameters
currentOrbit
Returns
void ManeuverNode.OnGizmoUpdated ( Vector3d  dV,
double  ut 
)

You can call this function to change the delta-V and time of a maneuver node.

Parameters
dVThe new delta-V. See the DeltaV for notes about the coordinate system used.
utThe new universal time.
void ManeuverNode.RemoveSelf ( )

Member Data Documentation

ManeuverGizmo ManeuverNode.attachedGizmo
Vector3d ManeuverNode.DeltaV

The delta-V of the burn represented by this maneuver node, in m/s. NOTE: maneuver nodes use a special coordinate system for delta-V. The x-component of DeltaV represents the delta-V in the radial-plus direction. The y-component of DeltaV represents the delta-V in the normal-minus direction. The z-component of DeltaV represents the delta-V in the prograde direction.

Orbit ManeuverNode.nextPatch

The orbit patch that starts at this maneuver node.

Quaternion ManeuverNode.nodeRotation
Orbit ManeuverNode.patch

The orbit patch that ends at this maneuver node?

Transform ManeuverNode.scaledSpaceTarget
PatchedConicSolver ManeuverNode.solver
double ManeuverNode.UT

The universal time of the burn represented by this maneuver node.


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