Select your preferred scripting language. All code snippets will be displayed in this language.
struct in UnityEngine.Experimental.Director
Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.
ClosePlayable that plays a RuntimeAnimatorController. Can be used as an input to an AnimationPlayable.
animatorController | RuntimeAnimatorController played by this playable. |
duration | Duration in seconds. |
layerCount | See IAnimatorControllerPlayable.layerCount. |
parameterCount | See IAnimatorControllerPlayable.parameterCount. |
state | Current PlayState of this playable. This indicates whether the Playable is currently playing or paused. |
time | Current time in seconds. |
CastTo | You can use the CastTo method to perform certain types of conversions between compatible reference types or nullable types. |
CrossFade | See IAnimatorControllerPlayable.CrossFade. |
CrossFadeInFixedTime | See IAnimatorControllerPlayable.CrossFadeInFixedTime. |
Destroy | Call this method to release the resources allocated by the Playable. |
GetAnimatorTransitionInfo | See IAnimatorControllerPlayable.GetAnimatorTransitionInfo. |
GetBool | See IAnimatorControllerPlayable.GetBool. |
GetCurrentAnimatorClipInfo | See IAnimatorControllerPlayable.GetCurrentAnimatorClipInfo. |
GetCurrentAnimatorStateInfo | See IAnimatorControllerPlayable.GetCurrentAnimatorStateInfo. |
GetFloat | See IAnimatorControllerPlayable.GetFloat. |
GetInteger | See IAnimatorControllerPlayable.GetInteger. |
GetLayerIndex | See IAnimatorControllerPlayable.GetLayerIndex. |
GetLayerName | See IAnimatorControllerPlayable.GetLayerName. |
GetLayerWeight | See IAnimatorControllerPlayable.GetLayerWeight. |
GetNextAnimatorClipInfo | See IAnimatorControllerPlayable.GetNextAnimatorClipInfo. |
GetNextAnimatorStateInfo | See IAnimatorControllerPlayable.GetNextAnimatorStateInfo. |
GetParameter | See AnimatorController.GetParameter. |
HasState | See IAnimatorControllerPlayable.HasState. |
IsInTransition | See IAnimatorControllerPlayable.IsInTransition. |
IsParameterControlledByCurve | See IAnimatorControllerPlayable.IsParameterControlledByCurve. |
IsValid | Returns true if the Playable is valid. A playable can be invalid if it was disposed. This is different from a Null playable. |
Play | See IAnimatorControllerPlayable.Play. |
PlayInFixedTime | See IAnimatorControllerPlayable.PlayInFixedTime. |
ResetTrigger | See IAnimatorControllerPlayable.ResetTrigger. |
SetBool | See IAnimatorControllerPlayable.SetBool. |
SetFloat | See IAnimatorControllerPlayable.SetFloat. |
SetInteger | See IAnimatorControllerPlayable.SetInteger. |
SetLayerWeight | See IAnimatorControllerPlayable.SetLayerWeight. |
SetTrigger | See IAnimatorControllerPlayable.SetTrigger. |
Create | Creates an AnimatorControllerPlayable. |