---
title: modelTransform
framework: scenekit
role: symbol
role_heading: Instance Property
path: scenekit/scnhittestresult/modeltransform
---

# modelTransform

The world transform matrix of the node containing the intersection.

## Declaration

```swift
var modelTransform: SCNMatrix4 { get }
```

```swift
var modelTransform: SCNMatrix4 { get }
```

## Discussion

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

- [node](scenekit/scnhittestresult/node.md)
- [geometryIndex](scenekit/scnhittestresult/geometryindex.md)
- [faceIndex](scenekit/scnhittestresult/faceindex.md)
- [localCoordinates](scenekit/scnhittestresult/localcoordinates.md)
- [worldCoordinates](scenekit/scnhittestresult/worldcoordinates.md)
- [localNormal](scenekit/scnhittestresult/localnormal.md)
- [worldNormal](scenekit/scnhittestresult/worldnormal.md)
- [textureCoordinates(withMappingChannel:)](scenekit/scnhittestresult/texturecoordinates(withmappingchannel:).md)
