Edit

Share via


SCNLayer.HitTest Method

Definition

Overloads

HitTest(CGPoint, SCNHitTestOptions)
HitTest(CGPoint, NSDictionary)

HitTest(CGPoint, SCNHitTestOptions)

[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.WatchOS, 3, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 8, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 8, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public SceneKit.SCNHitTestResult[] HitTest (CoreGraphics.CGPoint thePoint, SceneKit.SCNHitTestOptions options);
override this.HitTest : CoreGraphics.CGPoint * SceneKit.SCNHitTestOptions -> SceneKit.SCNHitTestResult[]

Parameters

thePoint
CGPoint

Returns

Attributes

Applies to

HitTest(CGPoint, NSDictionary)

[Foundation.Export("hitTest:options:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.WatchOS, 3, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 8, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 8, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual SceneKit.SCNHitTestResult[] HitTest (CoreGraphics.CGPoint thePoint, Foundation.NSDictionary options);
override this.HitTest : CoreGraphics.CGPoint * Foundation.NSDictionary -> SceneKit.SCNHitTestResult[]

Parameters

thePoint
CGPoint
options
NSDictionary

Returns

Implements

Attributes

Applies to