Method CopySplineDataIfEmpty
CopySplineDataIfEmpty(ISplineContainer, int, int, EmbeddedSplineDataType, string)
Copy an embedded SplineData<T> collection to a new Spline if the destination
does not already contain an entry matching the type and key.
Declaration
public static bool CopySplineDataIfEmpty(ISplineContainer container, int source, int destination, EmbeddedSplineDataType type, string key)
Parameters
| Type | Name | Description |
|---|---|---|
| ISplineContainer | container | |
| int | source | The index of the Spline in the |
| int | destination | The index of the Spline in the |
| EmbeddedSplineDataType | type | |
| string | key | A string value used to identify and access a SplineData<T>. |
Returns
| Type | Description |
|---|---|
| bool | True if data was copied, otherwise false. |