Summary
[Editor-Only]
A system that procedurally gathers animations throughout the hierarchy without needing explicit references.
- Assembly
- Animancer
.dll - Namespace
- Animancer
.Editor - Interfaces
- Base Types
-
- Object
graph BT
Type-->Base0["Object"]
Type-.->Interface0["IAnimationClipCollection"]
click Interface0 "/animancer/api/Animancer/IAnimationClipCollection"
Type["AnimationGatherer"]
class Type type-node
Syntax
public class AnimationGatherer : IAnimationClipCollection
Fields
Name | Constant Value | Summary |
---|---|---|
Clips |
All the
UnityEngine.AnimationClip s that have been gathered. |
|
logExceptions |
Should exceptions thrown while gathering animations be logged? Default is false to ignore them.
static
|
|
Transitions |
All the
Animancer.ITransition s that have been gathered. |
Methods
Name | Value | Summary |
---|---|---|
ClearCache |
void |
Clears all cached gatherers.
static
|
GatherAnimationClips |
void |
Adds all the animations associated with this object to the `clips`.
|
GatherFromGameObject |
AnimationGatherer |
Returns a cached
Animancer.Editor.AnimationGatherer containing any UnityEngine.AnimationClip s referenced by
components in the same hierarchy as the `gameObject`. See Animancer.ICharacterRoot for details.
static
|
GatherFromGameObject |
void |
Fills the `clips` with any
UnityEngine.AnimationClip s referenced by components in the same hierarchy as
the `gameObject`. See Animancer.ICharacterRoot for details.
static
|
GatherFromGameObject |
void |
Fills the `clips` with any
UnityEngine.AnimationClip s referenced by components in the same hierarchy as
the `gameObject`. See Animancer.ICharacterRoot for details.
static
|