private void Update(WorldForm wf, ref MapSelection sel, Quaternion q) { if (Polygon != null) { Polygon.Orientation = q; } if (Polygon != sel.CollisionPoly) { wf.SelectCollisionPoly(Polygon); } wf.SetWidgetRotation(q); UpdateGraphics(wf); }
private void Update(WorldForm wf, ref MapSelection sel, Vector3 s) { if (Polygon != null) { Polygon.Scale = s; } if (Polygon != sel.CollisionPoly) { wf.SelectCollisionPoly(Polygon); } wf.SetWidgetScale(s); UpdateGraphics(wf); }
private void Update(WorldForm wf, ref MapSelection sel, Vector3 p) { if (Polygon != null) { Polygon.Position = p; } if (Polygon != sel.CollisionPoly) { wf.SelectCollisionPoly(Polygon); } wf.SetWidgetPosition(p); UpdateGraphics(wf); }