One Logo Pool Ball
ARKit · IOS API REFERENCE

ARHitTestResult

class · iOS 11.0+ · Deprecated in iOS 14.0 · SDK 27.1

class ARHitTestResult

Members (5)

get · iOS 11.0+ · Deprecated in iOS 14.0

anchor

TypeScript
get anchor(): (ARAnchor) | null
Swift declaration
var anchor: ARAnchor? { get }
get · iOS 11.0+ · Deprecated in iOS 14.0

distance

TypeScript
get distance(): number
Swift declaration
var distance: CGFloat { get }
get · iOS 11.0+ · Deprecated in iOS 14.0

localTransform

TypeScript
get localTransform(): SDKHandle
Swift declaration
var localTransform: simd_float4x4 { get }
get · iOS 11.0+ · Deprecated in iOS 14.0

type

TypeScript
get type(): ARHitTestResult_ResultType
Swift declaration
var type: ARHitTestResult.ResultType { get }
get · iOS 11.0+ · Deprecated in iOS 14.0

worldTransform

TypeScript
get worldTransform(): SDKHandle
Swift declaration
var worldTransform: simd_float4x4 { get }

Skipped declarations

1 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.

ARHitTestResult.init()

inherited init: clang: 'init' is unavailable

All ARKit types →