Contents

modelTransform

The world transform matrix of the node containing the intersection.

Declaration

var modelTransform: SCNMatrix4 { get }
var modelTransform: SCNMatrix4 { get }

Discussion

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.

See Also

Retrieving Information About a Hit-Test Result