Method TryGetIntData
TryGetIntData(string, out SplineData<int>)
Retrieve a SplineData<T> reference for if it exists. Note that this is a reference to the stored SplineData<T>, not a copy. Any modifications to this collection will affect the Spline data.
Declaration
public bool TryGetIntData(string key, out SplineData<int> data)
Parameters
Type | Name | Description |
---|---|---|
string | key | The string key value to search for. Only one instance of a key value can exist in an embedded SplineData<T> collection, however keys are unique to each data type. The same key can be re-used to store float data and Object data. |
SplineData<int> | data | The output SplineData<T> if the key is found. |
Returns
Type | Description |
---|---|
bool | True if the key and type combination are found, otherwise false. |