You can show the World Origin on macOS using:
(programmatically show the World Origin:)
yourSCNView.debugOptions = SCNDebugOptions(rawValue: 2048)
Repeating what you now know but to summarize for others, you can also use:
(trigger a UI window that can show the World Origin from a menu option:)
yourSCNView.showsStatistics = true
which brings up a surprising, and very powerful and useful, window packed full of features and options (on macOS; a mini versions appears on iOS).
It is a bit odd that .showWorldOrigin
is only indirectly available to macOS like this, but I think it, and .showFeaturePoints
(the other SCNDebugOptions
also not available to macOS), might have been part of later editions to SCNDebugOptions
to troubleshoot Augmented Reality needs for ARKit. ARKit uses spatial/LiDAR tracking info to identify real world objects, or features like a chair, tabletop, etc., where you would need a front-facing camera (not macOS) to implement properly, hence, it's primarily an iOS thing, and the documentation for both mention that and state that they are "most useful with a ARWorldTrackingConfiguration session."
Also, in the discussions here,
yourSCNView.debugOptions = SCNDebugOptions(rawValue: 4096)
may trigger the other unavailable option (.showFeaturePoints
), but @DonMag mentioned that couldn't be confirmed, which would seem to be expected since the docs state: "This option is available only when running a ARWorldTrackingConfiguration session.", so you wouldn't notice that option (.showFeaturePoints
) on macOS.