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.
CloseBase class for all animation related Playable classes.
Null | A Null AnimationPlayable used to create empty input connections. |
duration | Duration in seconds. |
inputCount | The count of inputs on the Playable. This count includes slots that aren't connected to anything. |
outputCount | The count of ouputs on the Playable. Currently only 1 output is supported. |
state | Current PlayState of this playable. This indicates whether the Playable is currently playing or paused. |
time | Current time in seconds. |
AddInput | Adds an Playable as an input. |
CastTo | You can use the CastTo operator to perform certain types of conversions between compatible reference types or nullable types. |
Destroy | Call this method to release the resources allocated by the Playable. |
GetInput | Returns the Playable connected at the specified index. |
GetInputWeight | Get the weight of the Playable at a specified index. |
GetOutput | Returns the Playable connected at the specified output index. |
IsValid | Returns true if the Playable is valid. A playable can be invalid if it was disposed. This is different from a Null playable.. |
RemoveAllInputs | Disconnects all input playables. |
RemoveInput | Removes a playable from the list of inputs. |
SetInput | Sets an Playable as an input. |
SetInputs | Replaces existing inputs with the supplied collection of Playable. |
SetInputWeight | Set the weight of an input. |