Exemplo n.º 1
0
 public void SetYnvPoint(YnvPoint ynvPoint)
 {
     YnvPoint = ynvPoint;
     Tag      = ynvPoint;
     UpdateFormTitle();
     UpdateYnvPointUI();
 }
Exemplo n.º 2
0
        public NavPointRotationUndoStep(YnvPoint point, Quaternion startrot, WorldForm wf)
        {
            Point         = point;
            StartRotation = startrot;
            EndRotation   = point?.Orientation ?? Quaternion.Identity;

            //UpdateGraphics(wf);
        }
Exemplo n.º 3
0
        public NavPointPositionUndoStep(YnvPoint point, Vector3 startpos, WorldForm wf)
        {
            Point         = point;
            StartPosition = startpos;
            EndPosition   = point?.Position ?? Vector3.Zero;

            UpdateGraphics(wf); //forces the update of the path graphics when it's moved...
        }