SKRegion.CreateIntersection(SKRegion) Method

Definition

Creates a new region from the intersection of region with the current region.

[Foundation.Export("regionByIntersectionWithRegion:")]
public virtual SpriteKit.SKRegion CreateIntersection (SpriteKit.SKRegion region);
abstract member CreateIntersection : SpriteKit.SKRegion -> SpriteKit.SKRegion
override this.CreateIntersection : SpriteKit.SKRegion -> SpriteKit.SKRegion

Parameters

region
SKRegion

Returns

SKRegion
Attributes

Applies to