Summary
A variant of
UnityEngine.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.
- Assembly
- Animancer
.dll - Namespace
- Animancer
- Implementing Types
-
- LinearMixerState
- Clip
Transition Sequence - AnimancerLayer
- MixerState
<TParameter> - Manual
Mixer Transition <TMixer> - NamedClipTransition
- AnimationGatherer
- AnimancerComponent
- Playable
Asset Transition - Directional
Clip Transition - AnimancerState
- ControllerTransition
- ClipTransition
- MixerTransition2D
- Weighted
Mask Layer List - Animancer
Layer Mixer List - Linear
Mixer Transition - ControllerState
- Named
Animancer Component - AnimancerGraph
- MixerTransition
<TMixer, TParameter> - Manual
Mixer Transition - AnimancerLayerList
- Hybrid
Animancer Component - Animancer
State Dictionary - CartesianMixerState
- ClipState
- ControllerTransition
<TState> - Directional
Mixer State - PlayableAssetState
- ManualMixerState
- Vector2MixerState
graph BT
Type["IAnimationClipCollection"]
class Type type-node
Implementing0["LinearMixerState"]-.->Type
click Implementing0 "/animancer/api/Animancer/LinearMixerState"
Implementing1["ClipTransitionSequence"]-.->Type
click Implementing1 "/animancer/api/Animancer/ClipTransitionSequence"
Implementing2["AnimancerLayer"]-.->Type
click Implementing2 "/animancer/api/Animancer/AnimancerLayer"
Implementing3["MixerState<TParameter>"]-.->Type
click Implementing3 "/animancer/api/Animancer/MixerState_1"
Implementing4["ManualMixerTransition<TMixer>"]-.->Type
click Implementing4 "/animancer/api/Animancer/ManualMixerTransition_1"
Implementing5["NamedClipTransition"]-.->Type
click Implementing5 "/animancer/api/Animancer.Samples.Layers/NamedClipTransition"
Implementing6["AnimationGatherer"]-.->Type
click Implementing6 "/animancer/api/Animancer.Editor/AnimationGatherer"
Implementing7["AnimancerComponent"]-.->Type
click Implementing7 "/animancer/api/Animancer/AnimancerComponent"
Implementing8["PlayableAssetTransition"]-.->Type
click Implementing8 "/animancer/api/Animancer/PlayableAssetTransition"
Implementing9["DirectionalClipTransition"]-.->Type
click Implementing9 "/animancer/api/Animancer/DirectionalClipTransition"
Implementing10["AnimancerState"]-.->Type
click Implementing10 "/animancer/api/Animancer/AnimancerState"
Implementing11["ControllerTransition"]-.->Type
click Implementing11 "/animancer/api/Animancer/ControllerTransition"
Implementing12["ClipTransition"]-.->Type
click Implementing12 "/animancer/api/Animancer/ClipTransition"
Implementing13["MixerTransition2D"]-.->Type
click Implementing13 "/animancer/api/Animancer/MixerTransition2D"
Implementing14["WeightedMaskLayerList"]-.->Type
click Implementing14 "/animancer/api/Animancer/WeightedMaskLayerList"
Implementing15["AnimancerLayerMixerList"]-.->Type
click Implementing15 "/animancer/api/Animancer/AnimancerLayerMixerList"
Implementing16["LinearMixerTransition"]-.->Type
click Implementing16 "/animancer/api/Animancer/LinearMixerTransition"
Implementing17["ControllerState"]-.->Type
click Implementing17 "/animancer/api/Animancer/ControllerState"
Implementing18["NamedAnimancerComponent"]-.->Type
click Implementing18 "/animancer/api/Animancer/NamedAnimancerComponent"
Implementing19["AnimancerGraph"]-.->Type
click Implementing19 "/animancer/api/Animancer/AnimancerGraph"
Implementing20["MixerTransition<TMixer, TParameter>"]-.->Type
click Implementing20 "/animancer/api/Animancer/MixerTransition_2"
Implementing21["ManualMixerTransition"]-.->Type
click Implementing21 "/animancer/api/Animancer/ManualMixerTransition"
Implementing22["AnimancerLayerList"]-.->Type
click Implementing22 "/animancer/api/Animancer/AnimancerLayerList"
Implementing23["HybridAnimancerComponent"]-.->Type
click Implementing23 "/animancer/api/Animancer/HybridAnimancerComponent"
Implementing24["AnimancerStateDictionary"]-.->Type
click Implementing24 "/animancer/api/Animancer/AnimancerStateDictionary"
Implementing25["CartesianMixerState"]-.->Type
click Implementing25 "/animancer/api/Animancer/CartesianMixerState"
Implementing26["ClipState"]-.->Type
click Implementing26 "/animancer/api/Animancer/ClipState"
Implementing27["ControllerTransition<TState>"]-.->Type
click Implementing27 "/animancer/api/Animancer/ControllerTransition_1"
Implementing28["DirectionalMixerState"]-.->Type
click Implementing28 "/animancer/api/Animancer/DirectionalMixerState"
Implementing29["PlayableAssetState"]-.->Type
click Implementing29 "/animancer/api/Animancer/PlayableAssetState"
Implementing30["ManualMixerState"]-.->Type
click Implementing30 "/animancer/api/Animancer/ManualMixerState"
Implementing31["Vector2MixerState"]-.->Type
click Implementing31 "/animancer/api/Animancer/Vector2MixerState"
Syntax
public interface IAnimationClipCollection
Remarks
UnityEngine.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 |
void |
Adds all the animations associated with this object to the `clips`.
|