ARSCNView.HitTest(CGPoint, ARHitTestResultType) Method

Definition

Performs a hit-test on a ray projected perpendicularly from the normalized point.

[Foundation.Export("hitTest:types:")]
public virtual ARKit.ARHitTestResult[] HitTest (CoreGraphics.CGPoint point, ARKit.ARHitTestResultType types);
override this.HitTest : CoreGraphics.CGPoint * ARKit.ARHitTestResultType -> ARKit.ARHitTestResult[]

Parameters

point
CGPoint

A CGPoint normalized to the range [0,0] (upper left) to [1,1] lower right.

types
ARHitTestResultType

The ARHitTestResultType(s) that should be tested for.

Returns

Attributes

Applies to