Animancer v6.0 is currently available for testing.

IPlayableWrapper Interface

Summary

Interface for objects that manage a UnityEngine.Playables.Playable.
graph BT Type["IPlayableWrapper"] class Type type-node Implementing0["MixerState<TParameter>"]-.->Type click Implementing0 "/animancer/api/Animancer/MixerState_1" Implementing1["ControllerState"]-.->Type click Implementing1 "/animancer/api/Animancer/ControllerState" Implementing2["ClipState"]-.->Type click Implementing2 "/animancer/api/Animancer/ClipState" Implementing3["ManualMixerState"]-.->Type click Implementing3 "/animancer/api/Animancer/ManualMixerState" Implementing4["Float2ControllerState"]-.->Type click Implementing4 "/animancer/api/Animancer/Float2ControllerState" Implementing5["Float3ControllerState"]-.->Type click Implementing5 "/animancer/api/Animancer/Float3ControllerState" Implementing6["AnimancerLayer"]-.->Type click Implementing6 "/animancer/api/Animancer/AnimancerLayer" Implementing7["PlayableAssetState"]-.->Type click Implementing7 "/animancer/api/Animancer/PlayableAssetState" Implementing8["LinearMixerState"]-.->Type click Implementing8 "/animancer/api/Animancer/LinearMixerState" Implementing9["MixerState"]-.->Type click Implementing9 "/animancer/api/Animancer/MixerState" Implementing10["CartesianMixerState"]-.->Type click Implementing10 "/animancer/api/Animancer/CartesianMixerState" Implementing11["AnimancerNode"]-.->Type click Implementing11 "/animancer/api/Animancer/AnimancerNode" Implementing12["Float1ControllerState"]-.->Type click Implementing12 "/animancer/api/Animancer/Float1ControllerState" Implementing13["DirectionalMixerState"]-.->Type click Implementing13 "/animancer/api/Animancer/DirectionalMixerState" Implementing14["AnimancerState"]-.->Type click Implementing14 "/animancer/api/Animancer/AnimancerState" Implementing15["AnimancerPlayable"]-.->Type click Implementing15 "/animancer/api/Animancer/AnimancerPlayable"

Syntax

public interface IPlayableWrapper

Properties

Name Value Summary
ChildCount int
The number of nodes using this object as their Animancer.IPlayableWrapper.Parent.
KeepChildrenConnected bool
Indicates whether child playables should stay connected to the graph at all times.

If false, playables will be disconnected from the graph while they are at 0 weight to stop it from evaluating them every frame.
Parent IPlayableWrapper
The object which receives the output of the Animancer.IPlayableWrapper.Playable.
Playable Playable
The UnityEngine.Playables.Playable managed by this object.
Speed float
How fast the Animancer.AnimancerState.Time is advancing every frame.

Methods

Name Value Summary
GetChild(int) AnimancerNode
Returns the state connected to the specified `index` as a child of this object.