Snapshot
![snapshot](http://lf16-tiktok-common.tiktokcdn-us.com/obj/tiktok-web-common-tx/effect/learn/assets/images/snapshot-4fd45ae70e24178956d184f523a1c848.png)
When triggered, the Snapshot node pulls a frame from a camera’s render texture. Adjust the crop coordinates to set what section of the frame is captured. Snapshot is in the Control category.
Input
Name | Data Type | Description |
---|---|---|
Enter | Exec | The input execution that triggers this node. |
Camera Texture | Render Texture | A scene camera’s output. |
Crop | Rect | The rectangular area to crop out of the Camera Texture. |
Output
Name | Data Type | Description |
---|---|---|
Exit | Exec | Execute the next node. |
Snapshot Texture | Texture 2D | The snapshot captured from the camera output. |
Example
![snapshot example](http://lf16-tiktok-common.tiktokcdn-us.com/obj/tiktok-web-common-tx/effect/learn/assets/images/snapshot_example-83c705d60bd1cf21f2c0bc886b4cc8f4.gif)
In this example, a crop of the camera texture is captured and applied to an image when the open hand gesture is detected.
![snapshot node](http://lf16-tiktok-common.tiktokcdn-us.com/obj/tiktok-web-common-tx/effect/learn/assets/images/snapshot_node-a27668f834cc51090bc2e043c130b645.png)