Summary
Copies the details of all states in `copyFrom` to their equivalent states in this layer.
- Assembly
- Animancer
.dll - Namespace
- Animancer
- Containing Type
- AnimancerLayer
Syntax
public void CopyStatesFrom(AnimancerLayer copyFrom, CloneContext context, bool includeInactive = false)
Remarks
Any states which do not have an equivalent in this layer will be cloned into this layer.
Call
Animancer.AnimancerLayer.CopyFrom(Animancer.AnimancerLayer,Animancer.CloneContext)
(as well)
if you want to copy the details of the layer itself.
Parameters
Name | Type | Description |
---|---|---|
copyFrom | AnimancerLayer | |
context | CloneContext | |
includeInactive | bool |
Return Value
Type | Description |
---|---|
void |