Capture images of the Threekit player

Create Snapshot

The Snapshot feature will simply capture an image from the current player canvas. It is useful if you made some sene-graph change without using configuration or if you want to create a fast snapshot of what is exactly in the player at the current moment. Keep in mind you may want to switch to a specific or frame the camera before you take the snapshot:

await player.snapshotAsync()

You can find a more robust snapshot example in our recipe.