Class ParameterParsing
- Namespace
- TMPEffects.Parameters
Utility class for parsing parameters.
public static class ParameterParsing
- Inheritance
-
ParameterParsing
- Inherited Members
Methods
StringToAnchor(string, out Vector2, ITMPKeywordDatabase)
public static bool StringToAnchor(string str, out Vector2 result, ITMPKeywordDatabase keywords = null)
Parameters
str
stringresult
Vector2keywords
ITMPKeywordDatabase
Returns
StringToAnimCurve(string, out AnimationCurve, ITMPKeywordDatabase)
public static bool StringToAnimCurve(string str, out AnimationCurve result, ITMPKeywordDatabase keywords = null)
Parameters
str
stringresult
AnimationCurvekeywords
ITMPKeywordDatabase
Returns
StringToBool(string, out bool, ITMPKeywordDatabase)
public static bool StringToBool(string str, out bool result, ITMPKeywordDatabase keywords = null)
Parameters
str
stringresult
boolkeywords
ITMPKeywordDatabase
Returns
StringToColor(string, out Color, ITMPKeywordDatabase)
public static bool StringToColor(string str, out Color result, ITMPKeywordDatabase keywords = null)
Parameters
str
stringresult
Colorkeywords
ITMPKeywordDatabase
Returns
StringToFloat(string, out float, ITMPKeywordDatabase)
public static bool StringToFloat(string str, out float result, ITMPKeywordDatabase keywords = null)
Parameters
str
stringresult
floatkeywords
ITMPKeywordDatabase
Returns
StringToInt(string, out int, ITMPKeywordDatabase)
public static bool StringToInt(string str, out int result, ITMPKeywordDatabase keywords = null)
Parameters
str
stringresult
intkeywords
ITMPKeywordDatabase
Returns
StringToTypedVector2(string, out TypedVector2, ITMPKeywordDatabase)
public static bool StringToTypedVector2(string str, out TMPParameterTypes.TypedVector2 result, ITMPKeywordDatabase keywords = null)
Parameters
str
stringresult
TMPParameterTypes.TypedVector2keywords
ITMPKeywordDatabase
Returns
StringToTypedVector3(string, out TypedVector3, ITMPKeywordDatabase)
public static bool StringToTypedVector3(string str, out TMPParameterTypes.TypedVector3 result, ITMPKeywordDatabase keywords = null)
Parameters
str
stringresult
TMPParameterTypes.TypedVector3keywords
ITMPKeywordDatabase
Returns
StringToUnityObject(string, out Object, ITMPKeywordDatabase)
public static bool StringToUnityObject(string str, out UnityEngine.Object result, ITMPKeywordDatabase keywords = null)
Parameters
str
stringresult
Objectkeywords
ITMPKeywordDatabase
Returns
StringToVector2(string, out Vector2, ITMPKeywordDatabase)
public static bool StringToVector2(string str, out Vector2 result, ITMPKeywordDatabase keywords = null)
Parameters
str
stringresult
Vector2keywords
ITMPKeywordDatabase
Returns
StringToVector2Offset(string, out Vector2, ITMPKeywordDatabase)
public static bool StringToVector2Offset(string str, out Vector2 result, ITMPKeywordDatabase keywords = null)
Parameters
str
stringresult
Vector2keywords
ITMPKeywordDatabase
Returns
StringToVector3(string, out Vector3, ITMPKeywordDatabase)
public static bool StringToVector3(string str, out Vector3 result, ITMPKeywordDatabase keywords = null)
Parameters
str
stringresult
Vector3keywords
ITMPKeywordDatabase
Returns
StringToVector3Offset(string, out Vector3, ITMPKeywordDatabase)
public static bool StringToVector3Offset(string str, out Vector3 result, ITMPKeywordDatabase keywords = null)
Parameters
str
stringresult
Vector3keywords
ITMPKeywordDatabase