(Deprecated) Convert a MaterialX value string and Python type to the corresponding Python value.
(string, t)
| 278 | return getValueString(value) |
| 279 | |
| 280 | def _stringToValue(string, t): |
| 281 | "(Deprecated) Convert a MaterialX value string and Python type to the corresponding Python value." |
| 282 | warnings.warn("This function is deprecated; call MaterialX.createValueFromStrings instead.", DeprecationWarning, stacklevel = 2) |
| 283 | return createValueFromStrings(string, getTypeString(t())) |
| 284 | |
| 285 | typeToName = _typeToName |
| 286 | valueToString = _valueToString |
nothing calls this directly
no test coverage detected