Create(PlayableGraph, string, Animator)
Creates an AnimationPlayableOutput in the PlayableGraph.
Read time 1 minuteLast updated 10 days ago
Definition
- Type: Method
- Namespace: UnityEngine.Animations
- Assembly: UnityEngine.AnimationModule
public static AnimationPlayableOutput Create(PlayableGraph graph, string name, Animator target)
Parameters
The PlayableGraph that will contain the AnimationPlayableOutput.
The name of the output.
The Animator that will process the PlayableGraph.
Returns
Type | Description |
|---|---|
| AnimationPlayableOutput | A new AnimationPlayableOutput attached to the PlayableGraph. |
Remarks
The Animator plays the source Playable of the AnimationPlayableOutput. This source Playable can be set with SetSourcePlayable.