Summary
Creates a new T and calls
Animancer.ICopyable`1.CopyFrom(`0,Animancer.CloneContext)
using a Animancer.CloneContext
from the Animancer.CloneContext.Pool
.
- Assembly
- Animancer
.dll - Namespace
- Animancer
- Containing Type
- CopyableExtensions
Syntax
public static T CopyableClone<T>(this T original) where T : ICopyable<T>
Type Parameters
Name | Description |
---|---|
T |
Parameters
Name | Type | Description |
---|---|---|
original | T |
Return Value
Type | Description |
---|---|
T |