AnimancerJob<T> Class

Summary

[Pro-Only] A base class that allows Animation Jobs to be easily inserted into an Animancer graph.
Assembly
Animancer.dll
Namespace
Animancer
Base Types
  • Object
Derived Types
graph BT Type-->Base0["Object"] Type["AnimancerJob<T>"] class Type type-node Derived0["AnimatedProperty<TJob, TValue>"]-->Type click Derived0 "/animancer/api/Animancer/AnimatedProperty_2" Derived1["SimpleLean"]-->Type click Derived1 "/animancer/api/Animancer.Examples.Jobs/SimpleLean"

Syntax

public abstract class AnimancerJob<T> where T : struct, IAnimationJob

Examples

Animation Jobs

Remarks

Documentation: Animated Properties

Type Parameters

Name Description
T

Fields

Name Constant Value Summary
_Job
The UnityEngine.Animations.IAnimationJob.
_Playable
The UnityEngine.Animations.AnimationScriptPlayable running the job.

Methods

Name Value Summary
CreatePlayable(AnimancerPlayable) void
Creates the Animancer.AnimancerJob`1._Playable and inserts it between the root and the graph output.
Destroy() void
Destroys the Animancer.AnimancerJob`1._Playable and restores the graph connection it was intercepting.