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