Summary
Calls
Animancer.ICloneable`1.Clone(Animancer.CloneContext) using a Animancer.CloneContext from the
Animancer.CloneContext.Pool and casts the result.
- Assembly
- Animancer
.dll - Namespace
- Animancer
- Containing Type
- CloneableExtensions
Syntax
public static T Clone<T>(this ICloneable<T> original)
Remarks
Returns
null if the `original` is null.
Use Animancer.CloneContext.GetOrCreateClone``1(Animancer.ICloneable{``0})
if you already have a Animancer.CloneContext.
Type Parameters
| Name | Description |
|---|---|
| T |
Parameters
| Name | Type | Description |
|---|---|---|
| original | ICloneable |
Return Value
| Type | Description |
|---|---|
| T |