public static void ForEdit3(string name, Func <xna.Vector3> getter, Action <xna.Vector3> setter, float speed = 1f) { var actualValue = getter(); ImGuiEx.ForEdit3(name, () => new Vector3(actualValue.X, actualValue.Y, actualValue.Z), x => setter(new xna.Vector3(x.X, x.Y, x.Z)), speed); }