Create(PlayableGraph, Camera)
Creates a CameraPlayable in the PlayableGraph.
Read time 1 minuteLast updated 6 days ago
Definition
- Type: Method
- Namespace: UnityEngine.Experimental.Playables
- Assembly: UnityEngine.CoreModule
public static CameraPlayable Create(PlayableGraph graph, Camera camera)
Parameters
The PlayableGraph object that will own the CameraPlayable.
Camera used to produce a texture in the PlayableGraph.
Returns
Type | Description |
|---|---|
| CameraPlayable | A CameraPlayable linked to the PlayableGraph. |