kOS.Suffixed.Node.ToNodeRef C# (CSharp) Method

ToNodeRef() private method

private ToNodeRef ( ) : void
return void
        private void ToNodeRef()
        {
            if (nodeRef == null) return;

            if (nodeRef.attachedGizmo == null)
            {
                // Copy the logic from OnGizmoUpdated, excluding the two calls to attachedGizmo
                nodeRef.DeltaV = new Vector3d(radialOut, normal, prograde);
                nodeRef.UT = time;
                nodeRef.solver.UpdateFlightPlan();
            }
            else
            {
                nodeRef.OnGizmoUpdated(new Vector3d(radialOut, normal, prograde), time);
            }
        }