public static GetCorrectedDirection ( ) : Vector3 | ||
Результат | Vector3 |
public static Tuple <float, float, float> CorrectedDirection() { if (FlightGlobals.ActiveVessel != null && Trajectory.Target.Body != null) { return(new Tuple <float, float, float>(NavBallOverlay.GetCorrectedDirection().x, NavBallOverlay.GetCorrectedDirection().y, NavBallOverlay.GetCorrectedDirection().z)); } return(new Tuple <float, float, float>(0, 0, 0)); }
/// <summary> /// Returns the corrected direction or Null if no active vessel or set target. /// </summary> public static Vector3?CorrectedDirection() { if (FlightGlobals.ActiveVessel != null && Trajectory.Target.Body != null) { return(NavBallOverlay.GetCorrectedDirection()); } return(null); }
public static Vector3 correctedDirection() { return(NavBallOverlay.GetCorrectedDirection()); }