Summary
If the `state`'s
Animancer.AnimancerNode.Weight is not currently low,
this method finds or creates a copy of it which is low.
The returned Animancer.AnimancerState.Time is also set to 0.
- Assembly
- Animancer
.dll - Namespace
- Animancer
- Containing Type
- AnimancerLayer
Syntax
public AnimancerState GetOrCreateWeightlessState(AnimancerState state)
Remarks
If this method would exceed the
Animancer.AnimancerLayer.MaxCloneCount,
it returns the clone with the lowest weight.
"Low" weight is defined as less than or equal to the Animancer.AnimancerLayer.WeightlessThreshold.
The Fade Modes
page explains why clones are created.
Parameters
| Name | Type | Description |
|---|---|---|
| state | AnimancerState |
Return Value
| Type | Description |
|---|---|
| AnimancerState |