Summary
[Editor-Only]
Various utility functions relating to the properties animated by an
UnityEngine.AnimationClip
.
- Assembly
- Animancer
.dll - Namespace
- Animancer
.Editor - Base Types
-
- AssetPostprocessor
graph BT
Type-->Base0["AssetPostprocessor"]
Type["AnimationBindings"]
class Type type-node
Syntax
public class AnimationBindings : AssetPostprocessor
Methods
Name | Value | Summary |
---|---|---|
ClearCache |
void |
Clears all cached values in this class.
static
|
DoBindingMatchGUI |
void |
Draws an icon indicating the
Animancer.Editor.AnimationBindings.MatchType of the `state`
compared to the object it is being played on.
Clicking the icon calls Animancer.Editor.AnimationBindings.BindingData.LogIssues(Animancer.AnimancerState,Animancer.Editor.AnimationBindings.MatchType) .
static
|
GetAnimationType |
AnimationType |
Determines the
Animancer.Editor.AnimationType of the specified `clip`.static
|
GetAnimationType |
AnimationType |
Determines the
Animancer.Editor.AnimationType of the specified `animator`.static
|
GetAnimationType |
AnimationType |
Determines the
Animancer.Editor.AnimationType of the specified `gameObject`.static
|
GetBindings |
EditorCurveBinding[] |
Returns a cached array of all properties animated by the specified `clip`.
static
|
GetBindings |
AnimationBindings |
Returns a cached
Animancer.Editor.AnimationBindings.BindingData representing the specified `gameObject`.static
|
GetIcon |
Texture |
Get an icon = corresponding to the specified
Animancer.Editor.AnimationBindings.MatchType .static
|
OnAnimationChanged |
void |
Clears any cached values relating to the `clip` since they may no longer be correct.
static
|
On |
void |
Called when Unity imports an animation.
|