Animancer v6.0 is currently available for testing.

IAnimationClipCollection Interface

Summary

A variant of IAnimationClipSource which uses a System.Collections.Generic.ICollection`1 instead of a System.Collections.Generic.List`1 so that it can take a System.Collections.Generic.HashSet`1 to efficiently avoid adding duplicates. Animancer.AnimancerUtilities contains various extension methods for this purpose.
graph BT Type["IAnimationClipCollection"] class Type type-node Implementing0["MixerState<TParameter>"]-.->Type click Implementing0 "/animancer/api/Animancer/MixerState_1" Implementing1["LinearMixerState.Transition"]-.->Type click Implementing1 "/animancer/api/Animancer/Transition" Implementing2["Float2ControllerState.Transition"]-.->Type click Implementing2 "/animancer/api/Animancer/Transition" Implementing3["ManualMixerState.Transition"]-.->Type click Implementing3 "/animancer/api/Animancer/Transition" Implementing4["ControllerState"]-.->Type click Implementing4 "/animancer/api/Animancer/ControllerState" Implementing5["Float1ControllerState.Transition"]-.->Type click Implementing5 "/animancer/api/Animancer/Transition" Implementing6["ManualMixerState.Transition<TMixer>"]-.->Type click Implementing6 "/animancer/api/Animancer/Transition_1" Implementing7["ClipState"]-.->Type click Implementing7 "/animancer/api/Animancer/ClipState" Implementing8["Float3ControllerState.Transition"]-.->Type click Implementing8 "/animancer/api/Animancer/Transition" Implementing9["MixerState.Transition2D"]-.->Type click Implementing9 "/animancer/api/Animancer/Transition2D" Implementing10["RootMotion.MotionTransition"]-.->Type click Implementing10 "/animancer/api/Animancer.Examples.Locomotion/MotionTransition" Implementing11["ManualMixerState"]-.->Type click Implementing11 "/animancer/api/Animancer/ManualMixerState" Implementing12["Float2ControllerState"]-.->Type click Implementing12 "/animancer/api/Animancer/Float2ControllerState" Implementing13["MixerState.Transition<TMixer, TParameter>"]-.->Type click Implementing13 "/animancer/api/Animancer/Transition_2" Implementing14["NamedAnimancerComponent"]-.->Type click Implementing14 "/animancer/api/Animancer/NamedAnimancerComponent" Implementing15["Float3ControllerState"]-.->Type click Implementing15 "/animancer/api/Animancer/Float3ControllerState" Implementing16["AnimancerLayer"]-.->Type click Implementing16 "/animancer/api/Animancer/AnimancerLayer" Implementing17["AnimancerPlayable.StateDictionary"]-.->Type click Implementing17 "/animancer/api/Animancer/StateDictionary" Implementing18["PlayableAssetState"]-.->Type click Implementing18 "/animancer/api/Animancer/PlayableAssetState" Implementing19["LinearMixerState"]-.->Type click Implementing19 "/animancer/api/Animancer/LinearMixerState" Implementing20["MixerState"]-.->Type click Implementing20 "/animancer/api/Animancer/MixerState" Implementing21["CartesianMixerState"]-.->Type click Implementing21 "/animancer/api/Animancer/CartesianMixerState" Implementing22["PlayableAssetState.Transition"]-.->Type click Implementing22 "/animancer/api/Animancer/Transition" Implementing23["Float1ControllerState"]-.->Type click Implementing23 "/animancer/api/Animancer/Float1ControllerState" Implementing24["HybridAnimancerComponent"]-.->Type click Implementing24 "/animancer/api/Animancer/HybridAnimancerComponent" Implementing25["AnimancerPlayable.LayerList"]-.->Type click Implementing25 "/animancer/api/Animancer/LayerList" Implementing26["DirectionalMixerState"]-.->Type click Implementing26 "/animancer/api/Animancer/DirectionalMixerState" Implementing27["AnimancerState"]-.->Type click Implementing27 "/animancer/api/Animancer/AnimancerState" Implementing28["AnimancerPlayable"]-.->Type click Implementing28 "/animancer/api/Animancer/AnimancerPlayable" Implementing29["ControllerState.Transition"]-.->Type click Implementing29 "/animancer/api/Animancer/Transition" Implementing30["AnimancerComponent"]-.->Type click Implementing30 "/animancer/api/Animancer/AnimancerComponent" Implementing31["ControllerState.Transition<TState>"]-.->Type click Implementing31 "/animancer/api/Animancer/Transition_1" Implementing32["ClipState.Transition"]-.->Type click Implementing32 "/animancer/api/Animancer/Transition"

Syntax

public interface IAnimationClipCollection

Remarks

IAnimationClipSource still needs to be the main point of entry for the Animation Window, so this interface is only used internally.

Methods

Name Value Summary
GatherAnimationClips(ICollection<AnimationClip>) void
Gathers all the animations associated with this object.