Type Alias

SCNPhysicsTestSearchMode

Options affecting how SceneKit searches for bodies in a collision, ray, or sweep test, used with the SCNPhysicsTestSearchModeKey key.

Declaration

typedef NSString *SCNPhysicsTestSearchMode;

Topics

Type Properties

SCNPhysicsTestSearchModeAll

Searches should return all contacts matching the search parameters.

SCNPhysicsTestSearchModeAny

Searches should return only the first contact found regardless of its position relative to the search parameters.

SCNPhysicsTestSearchModeClosest

Searches should return only the closest contact to the beginning of the search.