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