<!--
{
  "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/SCNBoundingVolume",
  "metadataVersion" : "0.1.0",
  "role" : "Protocol",
  "symbol" : {
    "kind" : "Protocol",
    "modules" : [
      "SceneKit"
    ],
    "preciseIdentifier" : "c:objc(pl)SCNBoundingVolume"
  },
  "title" : "SCNBoundingVolume"
}
-->

# SCNBoundingVolume

Methods common to the [`SCNNode`](/documentation/SceneKit/SCNNode) and [`SCNGeometry`](/documentation/SceneKit/SCNGeometry) classes for measuring location and size.

```
protocol SCNBoundingVolume : NSObjectProtocol
```

## Overview

This protocol defines features adopted by both the [`SCNNode`](/documentation/SceneKit/SCNNode) and [`SCNGeometry`](/documentation/SceneKit/SCNGeometry) classes.

A bounding box is the smallest volume, in the shape of a rectangle aligned to the axes of the local coordinate space, that entirely contains an object. Scene Kit defines a bounding box using two points: a minimum and maximum corner. Similarly, a bounding sphere is the smallest sphere containing an object.

By default, Scene Kit automatically determines the minimal bounding volumes for geometries based on their vertex positions in model space. The bounding volume of a node with an attached geometry is the bounding volume of the geometry, expressed in the node’s local space. The bounding volume of a node containing child nodes is the minimal volume that encloses the bounding volumes of the node’s children.

Scene Kit uses the bounding volume of an object when determining how to render a scene. For example, an [`SCNCamera`](/documentation/SceneKit/SCNCamera) object uses the bounding boxes of visible elements in a scene to determine the its depth limits. You can override a bounding volume to change this behavior. For example, if a building model has a long, narrow antenna, the default bounding box includes that feature, so the default camera view for that model will be off-center with respect to the building itself. If you set a new bounding box that includes only the main part of the building, the default camera view will center on the building and ignore the antenna.

### Getting and Setting Bounding Volumes

Read the [`boundingBox`](/documentation/SceneKit/SCNBoundingVolume/boundingBox) or [`boundingSphere`](/documentation/SceneKit/SCNBoundingVolume/boundingSphere) property, [`getBoundingBoxMin:max:`](/documentation/SceneKit/SCNBoundingVolume/getBoundingBoxMin:max:) or [`getBoundingSphereCenter:radius:`](/documentation/SceneKit/SCNBoundingVolume/getBoundingSphereCenter:radius:) methods in Objective-C, to retrieve information about an object’s bounding box or sphere. To override the automatically determined bounding volume of an object, set a new value for the [`boundingBox`](/documentation/SceneKit/SCNBoundingVolume/boundingBox) property, the [`setBoundingBoxMin:max:`](/documentation/SceneKit/SCNBoundingVolume/setBoundingBoxMin:max:) method in Objective-C.

## Topics

### Working with Bounding Volumes

### Measuring an Object’s Bounding Volume

[`boundingBox`](/documentation/SceneKit/SCNBoundingVolume/boundingBox)

The minimum and maximum corner points of the object’s bounding box.

[`boundingSphere`](/documentation/SceneKit/SCNBoundingVolume/boundingSphere)

The center point and radius of the object’s bounding sphere.

[`getBoundingBoxMin:max:`](/documentation/SceneKit/SCNBoundingVolume/getBoundingBoxMin:max:)

Gets the minimum and maximum corner points of the object’s bounding box.

[`getBoundingSphereCenter:radius:`](/documentation/SceneKit/SCNBoundingVolume/getBoundingSphereCenter:radius:)

Gets the center point and radius of the object’s bounding sphere.

### Overriding an Object’s Default Bounding Volume

[`setBoundingBoxMin:max:`](/documentation/SceneKit/SCNBoundingVolume/setBoundingBoxMin:max:)

Sets a custom bounding box for the object.



---

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)