SCNNode.HitTest Method

Definition

Overloads

HitTest(SCNVector3, SCNVector3, NSDictionary)

Returns an array of hit test results for descendant nodes that intersect with a line between pointA and pointB.

HitTest(SCNVector3, SCNVector3, SCNHitTestOptions)

Returns an array of hit test results for descendant nodes that intersect with a line between pointA and pointB.

HitTest(SCNVector3, SCNVector3, NSDictionary)

Returns an array of hit test results for descendant nodes that intersect with a line between pointA and pointB.

[Foundation.Export("hitTestWithSegmentFromPoint:toPoint:options:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 9, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual SceneKit.SCNHitTestResult[] HitTest (SceneKit.SCNVector3 pointA, SceneKit.SCNVector3 pointB, Foundation.NSDictionary options);
abstract member HitTest : SceneKit.SCNVector3 * SceneKit.SCNVector3 * Foundation.NSDictionary -> SceneKit.SCNHitTestResult[]
override this.HitTest : SceneKit.SCNVector3 * SceneKit.SCNVector3 * Foundation.NSDictionary -> SceneKit.SCNHitTestResult[]

Parameters

pointA
SCNVector3
pointB
SCNVector3
options
NSDictionary

To be added.

This parameter can be null.

Returns

Attributes

HitTest(SCNVector3, SCNVector3, SCNHitTestOptions)

Returns an array of hit test results for descendant nodes that intersect with a line between pointA and pointB.

public SceneKit.SCNHitTestResult[] HitTest (SceneKit.SCNVector3 pointA, SceneKit.SCNVector3 pointB, SceneKit.SCNHitTestOptions options);
member this.HitTest : SceneKit.SCNVector3 * SceneKit.SCNVector3 * SceneKit.SCNHitTestOptions -> SceneKit.SCNHitTestResult[]

Parameters

pointA
SCNVector3
pointB
SCNVector3
options
SCNHitTestOptions

Strongly typed set of options to perform the hit-test detection.

This parameter can be null.

Returns

Applies to