<!--
{
  "availability" : [
    "iOS: 8.0.0 - 26.0.0",
    "iPadOS: 8.0.0 - 26.0.0",
    "macCatalyst: 13.1.0 - 26.0.0",
    "macOS: 10.8.0 - 26.0.0",
    "tvOS: 9.0.0 - 26.0.0",
    "visionOS: 1.0.0 - 26.0.0",
    "watchOS: 3.0.0 - 26.0.0"
  ],
  "documentType" : "symbol",
  "framework" : "SceneKit",
  "identifier" : "/documentation/SceneKit/SCNSceneRenderer/isNode(_:insideFrustumOf:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "SceneKit"
    ],
    "preciseIdentifier" : "c:objc(pl)SCNSceneRenderer(im)isNodeInsideFrustum:withPointOfView:"
  },
  "title" : "isNode(_:insideFrustumOf:)"
}
-->

# isNode(_:insideFrustumOf:)

Returns a Boolean value indicating whether a node might be visible from a specified point of view.

```
func isNode(_ node: SCNNode, insideFrustumOf pointOfView: SCNNode) -> Bool
```

## Parameters

`node`

The node whose visibility is to be tested.

`pointOfView`

A node defining a point of view, as used by the [`pointOfView`](/documentation/SceneKit/SCNSceneRenderer/pointOfView) property.

## Return Value

<doc://com.apple.documentation/documentation/Swift/true> if the bounding box of the tested node intersects the view frustum defined by the `pointOfView` node; otherwise, <doc://com.apple.documentation/documentation/Swift/false>.

## Discussion

Any node containing a camera or spotlight may serve as a point of view (see the [`pointOfView`](/documentation/SceneKit/SCNSceneRenderer/pointOfView) property for details). Such a node defines a *viewing frustum*—a portion of the scene’s coordinate space, shaped like a truncated pyramid, that encloses all points visible from that point of view.

Use this method to test whether a node lies within the viewing frustum defined by another node (which may or may not be the scene renderer’s current [`pointOfView`](/documentation/SceneKit/SCNSceneRenderer/pointOfView) node). For example, in a game scene containing multiple camera nodes, you could use this method to determine which camera is currently best for viewing a moving player character.

Note that this method does not perform occlusion testing. That is, it returns <doc://com.apple.documentation/documentation/Swift/true> if the tested node lies within the specified viewing frustum regardless of whether that node’s contents are obscured by other geometry.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)