AnimationScriptPlayable
struct in UnityEngine.Experimental.Animations
/
Implemented in:UnityEngine.AnimationModule
Implements interfaces:IAnimationJobPlayable, IPlayable
Description 描述
A Playable that can run a custom, multi-threaded animation job.
This playable allows to create a custom C# job that will give read and write access to the AnimationStream during the animation process pass in the PlayableGraph. The C# job must implement the interface IAnimationJob.
NOTE: You can use PlayableExtensions methods with AnimationScriptPlayable objects.
See Also: IAnimationJob, and AnimationScriptPlayable.Create.
Public Methods 公共方法
| GetJobData | Gets the job data contained in the playable. | ||
| GetProcessInputs | Returns whether the playable inputs will be processed or not. | ||
| SetJobData | Sets a new job data in the playable. | ||
| SetProcessInputs | Sets the new value for processing the inputs or not. |
Static Methods 静态方法
| Create | Creates an AnimationScriptPlayable in the PlayableGraph. |