Table of Contents

Class ParameterParsing

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 string
result Vector2
keywords ITMPKeywordDatabase

Returns

bool

StringToAnimCurve(string, out AnimationCurve, ITMPKeywordDatabase)

public static bool StringToAnimCurve(string str, out AnimationCurve result, ITMPKeywordDatabase keywords = null)

Parameters

str string
result AnimationCurve
keywords ITMPKeywordDatabase

Returns

bool

StringToBool(string, out bool, ITMPKeywordDatabase)

public static bool StringToBool(string str, out bool result, ITMPKeywordDatabase keywords = null)

Parameters

str string
result bool
keywords ITMPKeywordDatabase

Returns

bool

StringToColor(string, out Color, ITMPKeywordDatabase)

public static bool StringToColor(string str, out Color result, ITMPKeywordDatabase keywords = null)

Parameters

str string
result Color
keywords ITMPKeywordDatabase

Returns

bool

StringToFloat(string, out float, ITMPKeywordDatabase)

public static bool StringToFloat(string str, out float result, ITMPKeywordDatabase keywords = null)

Parameters

str string
result float
keywords ITMPKeywordDatabase

Returns

bool

StringToInt(string, out int, ITMPKeywordDatabase)

public static bool StringToInt(string str, out int result, ITMPKeywordDatabase keywords = null)

Parameters

str string
result int
keywords ITMPKeywordDatabase

Returns

bool

StringToTypedVector2(string, out TypedVector2, ITMPKeywordDatabase)

public static bool StringToTypedVector2(string str, out TMPParameterTypes.TypedVector2 result, ITMPKeywordDatabase keywords = null)

Parameters

str string
result TMPParameterTypes.TypedVector2
keywords ITMPKeywordDatabase

Returns

bool

StringToTypedVector3(string, out TypedVector3, ITMPKeywordDatabase)

public static bool StringToTypedVector3(string str, out TMPParameterTypes.TypedVector3 result, ITMPKeywordDatabase keywords = null)

Parameters

str string
result TMPParameterTypes.TypedVector3
keywords ITMPKeywordDatabase

Returns

bool

StringToUnityObject(string, out Object, ITMPKeywordDatabase)

public static bool StringToUnityObject(string str, out UnityEngine.Object result, ITMPKeywordDatabase keywords = null)

Parameters

str string
result Object
keywords ITMPKeywordDatabase

Returns

bool

StringToVector2(string, out Vector2, ITMPKeywordDatabase)

public static bool StringToVector2(string str, out Vector2 result, ITMPKeywordDatabase keywords = null)

Parameters

str string
result Vector2
keywords ITMPKeywordDatabase

Returns

bool

StringToVector2Offset(string, out Vector2, ITMPKeywordDatabase)

public static bool StringToVector2Offset(string str, out Vector2 result, ITMPKeywordDatabase keywords = null)

Parameters

str string
result Vector2
keywords ITMPKeywordDatabase

Returns

bool

StringToVector3(string, out Vector3, ITMPKeywordDatabase)

public static bool StringToVector3(string str, out Vector3 result, ITMPKeywordDatabase keywords = null)

Parameters

str string
result Vector3
keywords ITMPKeywordDatabase

Returns

bool

StringToVector3Offset(string, out Vector3, ITMPKeywordDatabase)

public static bool StringToVector3Offset(string str, out Vector3 result, ITMPKeywordDatabase keywords = null)

Parameters

str string
result Vector3
keywords ITMPKeywordDatabase

Returns

bool