Options for drawing overlay content in a scene that can aid debugging.
- iOS 9.0+
- macOS 10.11+
- Mac Catalyst 13.0+
- tvOS 9.0+
- watchOS 2.0+
Use these options to display overlays that show otherwise-invisible scene content—such as node bounding boxes and the extents of physics fields—for use in debugging and profiling your app. For example:
To improve rendering performance in a scene with multiple
SCNLightobjects, show each light’s area of effect with the
showoption and ensure that each object in the scene is affected by no more than three lights.