Type Property


An option to return only the first object found.


static let firstFoundOnly: SCNHitTestOption


The value for this key is a NSNumber object containing a Boolean value. The default value is false, specifying that hit-testing should return all objects found. If you specify true, the array of hit-test results contains only the first object found (which is not necessarily the nearest).

See Also


static let sortResults: SCNHitTestOption

An option to sort the results of a hit-test.