The world transform matrix of the node containing the intersection.
- iOS 8.0+
- macOS 10.8+
- tvOS 9.0+
- watchOS 3.0+
Use this matrix to transform vectors from the local coordinate space of the node whose geometry is intersected by the search ray to the scene’s world coordinate system.
Retrieving Information About a Hit-Test Result
var faceIndex: Int
The index of the primitive in the geometry element intersected by the search ray.
var localCoordinates: SCNVector3
The point of intersection between the geometry and the search ray, in the local coordinate system of the node containing the geometry.
var localNormal: SCNVector3
The surface normal vector at the point of intersection, in the local coordinate system of the node containing the geometry intersected by the search ray.