Experimental: this API is experimental and might be changed or removed in the future.

AnimationScriptPlayable

struct in UnityEngine.Experimental.Animations


Implementa interfaces:IAnimationJobPlayable, IPlayable

Cambiar al Manual

Descripción

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.

Funciones Públicas

GetJobDataGets the job data contained in the playable.
GetProcessInputsReturns whether the playable inputs will be processed or not.
SetJobDataSets a new job data in the playable.
SetProcessInputsSets the new value for processing the inputs or not.

Funciones Estáticas

CreateCreates an AnimationScriptPlayable in the PlayableGraph.