Method TryGetObjectData
TryGetObjectData(string, out SplineData<Object>)
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 TryGetObjectData(string key, out SplineData<Object> 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<Object> | 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. |