Platforms to show: All Mac Windows Linux Cross-Platform

Back to SCNHitTestResultMBS class.

SCNHitTestResultMBS.SCNHitTestSearchModeAll = 1

Type Topic Plugin Version
const SceneKit MBS Mac64bit Plugin 20.2
One of the possible values for the SCNHitTestOptionSearchMode option used with hit-testing methods.

The hit test should return all possible results, sorted from nearest to farthest.

SCNHitTestResultMBS.SCNHitTestSearchModeAny = 2

Type Topic Plugin Version
const SceneKit MBS Mac64bit Plugin 20.2
One of the possible values for the SCNHitTestOptionSearchMode option used with hit-testing methods.

The hit test should return only the first object found, regardless of distance.

SCNHitTestResultMBS.SCNHitTestSearchModeClosest = 0

Type Topic Plugin Version
const SceneKit MBS Mac64bit Plugin 20.2
One of the possible values for the SCNHitTestOptionSearchMode option used with hit-testing methods.

The hit test should return only the closes object found.

The items on this page are in the following plugins: MBS Mac64bit Plugin.


💬 Ask a question or report a problem
The biggest plugin in space...