Interface IAnimationJobBinder
This is the base interface for all animation job binders.
Namespace: UnityEngine.Animations.Rigging
Assembly: Unity.Animation.Rigging.dll
Syntax
public interface IAnimationJobBinder
Methods
Create(Animator, IAnimationJobData, Component)
Creates the animation job.
Declaration
IAnimationJob Create(Animator animator, IAnimationJobData data, Component component = null)
Parameters
| Type | Name | Description |
|---|---|---|
| Animator | animator | The animated hierarchy Animator component. |
| IAnimationJobData | data | The constraint data. |
| Component | component | The constraint component. |
Returns
| Type | Description |
|---|---|
| IAnimationJob | Returns a new job interface. |
CreatePlayable(PlayableGraph, IAnimationJob)
Creates an AnimationScriptPlayable with the specified animation job.
Declaration
AnimationScriptPlayable CreatePlayable(PlayableGraph graph, IAnimationJob job)
Parameters
| Type | Name | Description |
|---|---|---|
| PlayableGraph | graph | The PlayableGraph that will own the AnimationScriptPlayable. |
| IAnimationJob | job | The animation job to use in the AnimationScriptPlayable. |
Returns
| Type | Description |
|---|---|
| AnimationScriptPlayable | Returns a new AnimationScriptPlayable. |
Destroy(IAnimationJob)
Destroys the animation job.
Declaration
void Destroy(IAnimationJob job)
Parameters
| Type | Name | Description |
|---|---|---|
| IAnimationJob | job | The animation job to destroy. |
Update(IAnimationJob, IAnimationJobData)
Updates the animation job.
Declaration
void Update(IAnimationJob job, IAnimationJobData data)
Parameters
| Type | Name | Description |
|---|---|---|
| IAnimationJob | job | The animation job to update. |
| IAnimationJobData | data | The constraint data. |