Create(PlayableGraph, Camera)
Creates a CameraPlayable in the PlayableGraph.
阅读时间1 分钟最后更新于 1 个月前
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. |