Method TryGetFloatData
TryGetFloatData(out SplineData<float>)
Attempt to get a reference to the SplineData<T> described by this object.
Declaration
public bool TryGetFloatData(out SplineData<float> data)
Parameters
Type | Name | Description |
---|---|---|
SplineData<float> | data | A SplineData<T> reference if the Container, SplineIndex, Key, and Type are valid, otherwise null. |
Returns
Type | Description |
---|---|
bool | Returns true if a SplineData<T> value exists, otherwise false. |
Exceptions
Type | Condition |
---|---|
InvalidCastException | An exception is thrown if the requested SplineData<T> does not match the EmbeddedSplineDataType. |