CopyableExtensions.

CopyFromBase<TChild, TBase>(TChild, TBase, CloneContext) Method

Summary

Calls Animancer.ICopyable`1.CopyFrom(`0,Animancer.CloneContext) using the appropriate type.
Assembly
Animancer.dll
Namespace
Animancer
Containing Type
CopyableExtensions

Syntax

public static void CopyFromBase<TChild, TBase>(this TChild copyTo, TBase copyFrom, CloneContext context) 
    where TChild : ICopyable<TChild>, ICopyable<TBase> where TBase : ICopyable<TBase>

Type Parameters

Name Description
TChild
TBase

Parameters

Name Type Description
copyTo TChild
copyFrom TBase
context CloneContext

Return Value

Type Description
void