Structure

SCNPhysicsWorld.TestSearchMode

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

Declaration

struct TestSearchMode

Topics

Type Properties

static let all: SCNPhysicsWorld.TestSearchMode

Searches should return all contacts matching the search parameters.

static let any: SCNPhysicsWorld.TestSearchMode

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

static let closest: SCNPhysicsWorld.TestSearchMode

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

Relationships