AppleSCNPhysicsWorldContactTestOptionsDictionary - UBogun/Xojo-iosLib GitHub Wiki
is a subclass of AppleMutableDictionary, prepared with the keys and values as expected by the ContactTest methods of AppleSCNPhysicsWorld.
In the methods above, if you define no AppleSCNHitTestingDictionary, a standard dictionary for the view or node will be created.
Constructor
Constructor (): Creates a dictionary for Contact tests with the defaults from AppleSCNPhysicsWorld.
Properties
IgnoreBackfacingPolygons As Boolean: Whether to ignore back-facing polygons in physics shapes when searching for contacts. Default True.
SearchMode As AppleSCNPhysicsWorld.SCNPhysicsSearchMode: The number and order of contacts to be tested. Default Any.
SCNPhysicsSearchMode | Definition |
---|---|
Any | Searches should return only the first contact found regardless of its position relative to the search parameters. |
Closest | Searches should return only the closest contact to the beginning of the search |
All | Searches should return all contacts matching the search parameters. |
TestCollisionBitMask As UInteger: The key for selecting which categories of physics bodies that SceneKit should test for contacts. Default is All.