---
title: snapshot()
framework: scenekit
role: symbol
role_heading: Instance Method
path: scenekit/scnview/snapshot()
---

# snapshot()

Renders the view’s scene into a new image object.

## Declaration

```swift
func snapshot() -> UIImage
```

```swift
func snapshot() -> NSImage
```

## Return Value

Return Value An image object depicting the view in its current state.

## Discussion

Discussion This method is thread-safe and may be called at any time.
