Appearance
ARRaycastResult
Result from scene.raycastAR() when ray intersects real-world surfaces
Properties
anchor
- Type: AnchorData
- Associated plane anchor if hit was on a tracked plane (nil for estimated surfaces)
target
- Type: string
- Type of target that was hit: "existingPlaneGeometry", "existingPlaneInfinite", "estimatedPlane"
targetAlignment
- Type: string
- Surface alignment: "horizontal", "vertical", "any"
worldTransform
- Type: Transform
- World transform matrix at hit location