private object ToVector3(string s) { if (TryConvert(s, out Expression expression) == false) { return(Failure); } var vector = EvaluationHelper.AsVector3(null, expression, null); if (vector == null) { return(Failure); } return(vector.Value); }