---
title: worldSpaceDistance
framework: scenekit
role: symbol
role_heading: Instance Property
path: scenekit/scnlevelofdetail/worldspacedistance
---

# worldSpaceDistance

The minimum distance from the current point of view for this level of detail to appear.

## Declaration

```swift
var worldSpaceDistance: CGFloat { get }
```

## Discussion

Discussion When rendering a geometry with associated levels of detail, SceneKit calculates the distance from the current point of view to the geometry’s parent node, then renders the geometry for the SCNLevelOfDetail object with the largest distance parameter less than that distance.

## See Also

### Inspecting a Level of Detail

- [geometry](scenekit/scnlevelofdetail/geometry.md)
- [screenSpaceRadius](scenekit/scnlevelofdetail/screenspaceradius.md)
