public static GetPlannedDirection ( ) : Vector3 | ||
return | Vector3 |
public static Tuple <float, float, float> PlannedDirection() { if (FlightGlobals.ActiveVessel != null && Trajectory.Target.Body != null) { return(new Tuple <float, float, float>(NavBallOverlay.GetPlannedDirection().x, NavBallOverlay.GetPlannedDirection().y, NavBallOverlay.GetPlannedDirection().z)); } return(new Tuple <float, float, float>(0, 0, 0)); }
/// <summary> /// Returns the planned direction or Null if no active vessel or set target. /// </summary> public static Vector3?PlannedDirection() { if (FlightGlobals.ActiveVessel != null && Trajectory.Target.Body != null) { return(NavBallOverlay.GetPlannedDirection()); } return(null); }
public static Vector3 plannedDirection() { return(NavBallOverlay.GetPlannedDirection()); }