Class AnimationJobBinder<TJob, TData>
The is the base class for all animation job binders.
Implements
Inherited Members
Namespace: UnityEngine.Animations.Rigging
Assembly: Unity.Animation.Rigging.dll
Syntax
public abstract class AnimationJobBinder<TJob, TData> : IAnimationJobBinder where TJob : struct, IAnimationJob where TData : struct, IAnimationJobData
Type Parameters
| Name | Description |
|---|---|
| TJob | The constraint job. |
| TData | The constraint data. |
Methods
Create(Animator, ref TData, Component)
Creates the animation job.
Declaration
public abstract TJob Create(Animator animator, ref TData data, Component component)
Parameters
| Type | Name | Description |
|---|---|---|
| Animator | animator | The animated hierarchy Animator component. |
| TData | data | The constraint data. |
| Component | component | The constraint component. |
Returns
| Type | Description |
|---|---|
| TJob | Returns a new job interface. |
Destroy(TJob)
Destroys the animation job.
Declaration
public abstract void Destroy(TJob job)
Parameters
| Type | Name | Description |
|---|---|---|
| TJob | job | The animation job to destroy. |
Update(TJob, ref TData)
Updates the animation job.
Declaration
public virtual void Update(TJob job, ref TData data)
Parameters
| Type | Name | Description |
|---|---|---|
| TJob | job | The animation job to update. |
| TData | data | The constraint data. |