One Logo Pool Ball
ARKit · IOS API REFERENCE

ARRaycastQuery

class · iOS 13.0+ · SDK 27.1

class ARRaycastQuery

Members (5)

init · iOS 13.0+

init

TypeScript
static init(origin: SDKHandle, direction: SDKHandle, target: ARRaycastQuery_Target, alignment: ARRaycastQuery_TargetAlignment): ARRaycastQuery
Swift declaration
init(origin: simd_float3, direction: simd_float3, allowing target: ARRaycastQuery.Target, alignment: ARRaycastQuery.TargetAlignment)
get · iOS 13.0+

direction

TypeScript
get direction(): SDKHandle
Swift declaration
var direction: simd_float3 { get }
get · iOS 13.0+

origin

TypeScript
get origin(): SDKHandle
Swift declaration
var origin: simd_float3 { get }
get · iOS 13.0+

target

TypeScript
get target(): ARRaycastQuery_Target
Swift declaration
var target: ARRaycastQuery.Target { get }
get · iOS 13.0+

targetAlignment

TypeScript
get targetAlignment(): ARRaycastQuery_TargetAlignment
Swift declaration
var targetAlignment: ARRaycastQuery.TargetAlignment { get }

Skipped declarations

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

ARRaycastQuery.init()

inherited init: cannot prove legal (class declares 2 custom initializers)

All ARKit types →