Contents

boundingBoxOnly

An option to search for objects by bounding box only.

Declaration

static let boundingBoxOnly: SCNHitTestOption

Discussion

The value for this key is an NSNumber object containing 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.

See Also

Options