An option to search only for objects matching a specified bitmask.
SDKs
- iOS 10.0+
- macOS 10.12+
- Mac Catalyst 13.0+
- tvOS 10.0+
- watchOS 3.0+
Framework
- Scene
Kit
Declaration
static let categoryBitMask: SCNHit Test Option
Discussion
The value for this key is an NSNumber
object containing an integer value. If present, the search will return only nodes that both satisfy the hit test and have a category
value overlapping this bitmask.