public void SetYnvPoint(YnvPoint ynvPoint) { YnvPoint = ynvPoint; Tag = ynvPoint; UpdateFormTitle(); UpdateYnvPointUI(); }
public NavPointRotationUndoStep(YnvPoint point, Quaternion startrot, WorldForm wf) { Point = point; StartRotation = startrot; EndRotation = point?.Orientation ?? Quaternion.Identity; //UpdateGraphics(wf); }
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... }