IAnimationClipCollection Interface

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.
IAnimationClipCollection

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(ICollection<AnimationClip>) void
Adds all the animations associated with this object to the `clips`.