Platforms to show: All Mac Windows Linux Cross-Platform
Back to SCNHitTestResultMBS class.
SCNHitTestResultMBS.SCNHitTestBackFaceCullingKey as String
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | SceneKit | MBS Mac64bit Plugin | 20.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | Desktop & iOS |
The value for this key is a Boolean value. The default value is true, specifying that back-facing polygons will not be returned as hit-test results.
SCNHitTestResultMBS.SCNHitTestBoundingBoxOnlyKey as String
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | SceneKit | MBS Mac64bit Plugin | 20.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | Desktop & iOS |
The value for this key is a Boolean value. The default value is false, specifying that hit-testing searches should test against node geometry. Specifying true for this option increases search performance at the expense of geometric accuracy.
SCNHitTestResultMBS.SCNHitTestClipToZRangeKey as String
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | SceneKit | MBS Mac64bit Plugin | 20.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | Desktop & iOS |
The value for this key is a Boolean value. The default value is true, specifying that hit-testing searches only objects between the zNear and zFar distances of the pointOfView camera. Specify false to include objects outside this depth range in the search.
This option is valid only when hit-testing in the screen space of an SCNSceneRenderer object with the hitTest method.
SCNHitTestResultMBS.SCNHitTestIgnoreChildNodesKey as String
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | SceneKit | MBS Mac64bit Plugin | 20.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | Desktop & iOS |
The value for this key is a Boolean value. The default value is false, specifying that hit-testing may return objects from any portion of the node hierarchy. Specify true to search only the node specified by the SCNHitTestRootNodeKey key.
SCNHitTestResultMBS.SCNHitTestIgnoreHiddenNodesKey as String
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | SceneKit | MBS Mac64bit Plugin | 20.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | Desktop & iOS |
The value for this key is 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.
SCNHitTestResultMBS.SCNHitTestOptionCategoryBitMask as String
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | SceneKit | MBS Mac64bit Plugin | 20.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | Desktop & iOS |
The value for this key is an integer value. If present, the search will return only nodes that both satisfy the hit test and have a categoryBitMask value overlapping this bitmask.
SCNHitTestResultMBS.SCNHitTestOptionSearchMode as String
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | SceneKit | MBS Mac64bit Plugin | 20.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | Desktop & iOS |
The value for this key is an raw integer value of an SCNHitTestSearchMode constant.
SCNHitTestResultMBS.SCNHitTestRootNodeKey as String
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | SceneKit | MBS Mac64bit Plugin | 20.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | Desktop & iOS |
The value for this key is an SCNNodeMBS object. Hit-testing searches only the child node hierarchy under this node. When hit-testing takes place in the screen space of an SCNSceneRenderer object with the hitTest() method, the default value is the presented scene’s root node. When hit-testing is in a node using its hitTestWithSegment(), the default value is the node.
The items on this page are in the following plugins: MBS Mac64bit Plugin.