This is the old Animancer v7.4 documentation. Click here for the latest version.

ICloneable<T> Interface

Summary

An object that can be cloned.
ICloneable

Syntax

public interface ICloneable<out T>

Remarks

See Animancer.ICloneable`1.Clone(Animancer.CloneContext) for example usage.

Type Parameters

Name Description
T

Methods

Name Value Summary
Clone(CloneContext) T
Creates a new object with the same type and values this.

Extension Methods

Name Value Summary
Clone<T>() T
Calls Animancer.ICloneable`1.Clone(Animancer.CloneContext) using a Animancer.CloneContext from the Animancer.CloneContext.Pool and casts the result.