CopyableExtensions Class

Summary

Extension methods for Animancer.ICopyable`1.
Assembly
Animancer.dll
Namespace
Animancer
Base Types
  • Object
graph BT Type-->Base0["Object"] Type["CopyableExtensions"] class Type type-node

Syntax

public static class CopyableExtensions

Methods

Name Value Summary
CopyableClone<T>(T) T
Creates a new T and calls Animancer.ICopyable`1.CopyFrom(`0,Animancer.CloneContext) using a Animancer.CloneContext from the Animancer.CloneContext.Pool.
static
CopyableClone<T>(T, CloneContext) T
Creates a new T and calls Animancer.ICopyable`1.CopyFrom(`0,Animancer.CloneContext).
static
CopyFrom<T>(T, T) void
Calls Animancer.ICopyable`1.CopyFrom(`0,Animancer.CloneContext) using a Animancer.CloneContext from the Animancer.CloneContext.Pool.
static
CopyFromBase<TChild, TBase>(TChild, TBase, CloneContext) void
Calls Animancer.ICopyable`1.CopyFrom(`0,Animancer.CloneContext) using the appropriate type.
static