Instance Property

worldNormal

The surface normal vector at the point of intersection, in the scene’s world coordinate system.

Declaration

@property(nonatomic, readonly) SCNVector3 worldNormal;

See Also

Retrieving Information About a Hit-Test Result

node

The node whose geometry intersects the search ray.

geometryIndex

The index of the geometry element whose surface the search ray intersects.

faceIndex

The index of the primitive in the geometry element intersected by the search ray.

localCoordinates

The point of intersection between the geometry and the search ray, in the local coordinate system of the node containing the geometry.

worldCoordinates

The point of intersection between the geometry and the search ray, in the scene’s world coordinate system.

localNormal

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.

modelTransform

The world transform matrix of the node containing the intersection.

- textureCoordinatesWithMappingChannel:

Returns the texture coordinates at the point of intersection for the specified texture mapping channel.