The point of intersection between the geometry and the search ray, in the scene’s world coordinate system.
SDKs
- iOS 8.0+
- macOS 10.8+
- Mac Catalyst 13.0+
- tvOS 9.0+
- watchOS 3.0+
Framework
- Scene
Kit
Declaration
var worldCoordinates: SCNVector3 { get }
The point of intersection between the geometry and the search ray, in the scene’s world coordinate system.
SDKs
Framework
var worldCoordinates: SCNVector3 { get }
var node: SCNNode
The node whose geometry intersects the search ray.
var geometry Index: Int
The index of the geometry element whose surface the search ray intersects.
var face Index: Int
The index of the primitive in the geometry element intersected by the search ray.
var local Coordinates: SCNVector3
The point of intersection between the geometry and the search ray, in the local coordinate system of the node containing the geometry.
var local Normal: 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.
var world Normal: SCNVector3
The surface normal vector at the point of intersection, in the scene’s world coordinate system.
var model Transform: SCNMatrix4
The world transform matrix of the node containing the intersection.
func texture Coordinates(with Mapping Channel: Int) -> CGPoint
Returns the texture coordinates at the point of intersection for the specified texture mapping channel.