An option to ignore hidden nodes when searching.
SDKs
- iOS 8.0+
- macOS 10.9+
- Mac Catalyst 13.0+
- tvOS 9.0+
- watchOS 2.0+
Framework
- Scene
Kit
Declaration
static let ignoreHiddenNodes: SCNHit Test Option
Discussion
The value for this key is an NSNumber
object containing a Boolean value. The default value is true
, specifying that hit-testing should not return nodes whose hidden property value is true
. Specify false
to search nodes regardless of their visibility.