byIntersection(with:)
Returns a new region created by intersecting the contents of this region with another region.
Declaration
func byIntersection(with region: SKRegion) -> SelfParameters
- region:
The region to intersect.
Return Value
A new region whose contents include all points that are included in both regions.