---
title: zNear
framework: scenekit
role: symbol
role_heading: Instance Property
path: scenekit/scncamera/znear
---

# zNear

The camera’s near depth limit. Animatable.

## Declaration

```swift
var zNear: Double { get set }
```

## Discussion

Discussion The near value determines the minimal distance between the camera and a visible surface. If a surface is closer to the camera than this  distance, the surface is clipped and does not appear. The near value must not be zero. The default near value is 1.0. You can animate changes to this property’s value. See Animating SceneKit Content.

## See Also

### Adjusting Camera Perspective

- [zFar](scenekit/scncamera/zfar.md)
- [automaticallyAdjustsZRange](scenekit/scncamera/automaticallyadjustszrange.md)
