Options for defining the region of space affected by a physics field, used by the scope
property.
SDKs
- iOS 8.0+
- macOS 10.10+
- Mac Catalyst 13.0+
- tvOS 9.0+
- watchOS 2.0+
Framework
- Scene
Kit
Declaration
enum SCNPhysicsFieldScope : Int
Overview
You define a region of space for a field using the position of the node containing the field and the field’s half
and uses
properties. Then, you use the scope
property to choose whether the field’s area of effect is the interior of this region or whether it is the entirety of scene space excluding this region.