AnimationBindings.

AnimationBindings.BindingData Class

Summary

A collection of data about the properties on a UnityEngine.GameObject and its children which can be animated and the relationships between those properties and the properties that individual UnityEngine.AnimationClips are trying to animate.
Assembly
Animancer.dll
Namespace
Animancer.Editor
Base Types
  • Object
graph BT Type-->Base0["Object"] Type["AnimationBindings.BindingData"] class Type type-node

Syntax

public class AnimationBindings.BindingData

Constructors

Name Summary
BindingData(GameObject) Creates a new Animancer.Editor.AnimationBindings.BindingData representing the specified `gameObject`.

Fields

Name Constant Value Summary
GameObject
The target object that this data represents.

Properties

Name Value Summary
ObjectBindings HashSet<EditorCurveBinding>
The cached properties of the Animancer.Editor.AnimationBindings.BindingData.GameObject and its children which can be animated.
ObjectTransformBindings HashSet<string>
The UnityEditor.EditorCurveBinding.path of all UnityEngine.Transform bindings in Animancer.Editor.AnimationBindings.BindingData.ObjectBindings.
ObjectType AnimationType
The cached Animancer.Editor.AnimationType of the Animancer.Editor.AnimationBindings.BindingData.GameObject.

Methods

Name Value Summary
GetMatchType(AnimationClip, StringBuilder, Dictionary<EditorCurveBinding, bool>, int, bool) AnimationBindings.MatchType
Determines the Animancer.Editor.AnimationBindings.MatchType representing the properties animated by the `clip` in comparison to the properties that actually exist on the target Animancer.Editor.AnimationBindings.BindingData.GameObject and its children.

Also compiles a `message` explaining the differences if that paraneter is not null.
GetMatchType(Animator, AnimancerState, StringBuilder, bool) AnimationBindings.MatchType
Determines the Animancer.Editor.AnimationBindings.MatchType representing the properties animated by the `state` in comparison to the properties that actually exist on the target Animancer.Editor.AnimationBindings.BindingData.GameObject and its children.

Also compiles a `message` explaining the differences if that paraneter is not null.
LogIssues(AnimancerState, AnimationBindings.MatchType) void
Logs a description of the issues found when comparing the properties animated by the `state` to the properties that actually exist on the target Animancer.Editor.AnimationBindings.BindingData.GameObject and its children.