<!--
{
  "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/SCNDebugOptions",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "SceneKit"
    ],
    "preciseIdentifier" : "c:@E@SCNDebugOptions"
  },
  "title" : "SCNDebugOptions"
}
-->

# SCNDebugOptions

Options for drawing overlays with SceneKit content that can aid in debugging, used with the [`debugOptions`](/documentation/SceneKit/SCNSceneRenderer/debugOptions) property.

```
struct SCNDebugOptions
```

## Overview

Debug options are bit mask patterns. To display multiple debugging overlays, combine options using the bitwise OR operator.

## Topics

### Debugging Geometry and Animation

[`SCNDebugOptionShowBoundingBoxes`](/documentation/SceneKit/SCNDebugOptions/showBoundingBoxes)

Display the bounding boxes for any nodes with content.

[`SCNDebugOptionShowWireframe`](/documentation/SceneKit/SCNDebugOptions/showWireframe)

Display geometries in the scene with wireframe rendering.

[`SCNDebugOptionRenderAsWireframe`](/documentation/SceneKit/SCNDebugOptions/renderAsWireframe)

Display only wireframe placeholders for geometries in the scene.

[`SCNDebugOptionShowSkeletons`](/documentation/SceneKit/SCNDebugOptions/showSkeletons)

Display visualizations of the skeletal animation parameters for relevant geometries.

[`SCNDebugOptionShowCreases`](/documentation/SceneKit/SCNDebugOptions/showCreases)

Display nonsmoothed crease regions for geometries affected by surface subdivision.

[`SCNDebugOptionShowConstraints`](/documentation/SceneKit/SCNDebugOptions/showConstraints)

Display visualizations of the constraint objects acting on nodes in the scene.

### Debugging Cameras and Lighting

[`SCNDebugOptionShowCameras`](/documentation/SceneKit/SCNDebugOptions/showCameras)

Display visualizations for nodes in the scene with attached cameras and their fields of view.

[`SCNDebugOptionShowLightInfluences`](/documentation/SceneKit/SCNDebugOptions/showLightInfluences)

Display the locations of each [`SCNLight`](/documentation/SceneKit/SCNLight) object in the scene.

[`SCNDebugOptionShowLightExtents`](/documentation/SceneKit/SCNDebugOptions/showLightExtents)

Display the regions affected by each [`SCNLight`](/documentation/SceneKit/SCNLight) object in the scene.

### Debugging Physics

[`SCNDebugOptionShowPhysicsShapes`](/documentation/SceneKit/SCNDebugOptions/showPhysicsShapes)

Display the physics shapes for any nodes with attached [`SCNPhysicsBody`](/documentation/SceneKit/SCNPhysicsBody) objects.

[`SCNDebugOptionShowPhysicsFields`](/documentation/SceneKit/SCNDebugOptions/showPhysicsFields)

Display the regions affected by each [`SCNPhysicsField`](/documentation/SceneKit/SCNPhysicsField) object in the scene.

## Relationships

### Conforms To

[`OptionSet`](/documentation/Swift/OptionSet)

[`ExpressibleByArrayLiteral`](/documentation/Swift/ExpressibleByArrayLiteral)

[`BitwiseCopyable`](/documentation/Swift/BitwiseCopyable)

[`RawRepresentable`](/documentation/Swift/RawRepresentable)

[`Sendable`](/documentation/Swift/Sendable)

[`SetAlgebra`](/documentation/Swift/SetAlgebra)

[`Equatable`](/documentation/Swift/Equatable)

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

---

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)