Method TryGetObjectData
TryGetObjectData(out SplineData<Object>)
Attempt to get a reference to the SplineData<T> described by this object.
Declaration
public bool TryGetObjectData(out SplineData<Object> data)
Parameters
Type | Name | Description |
---|---|---|
SplineData<Object> | 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. |