---
title: "simdConvertTransform(_:from:)"
framework: scenekit
role: symbol
role_heading: Instance Method
path: "scenekit/scnnode/simdconverttransform(_:from:)"
---

# simdConvertTransform(_:from:)

Converts a transform to the node’s local coordinate space from that of another node.

## Declaration

```swift
func simdConvertTransform(_ transform: simd_float4x4, from node: SCNNode?) -> simd_float4x4
```

## Parameters

- `transform`: A transform relative to the local coordinate space defined by the other node.
- `node`: Another node in the same scene graph as the node, or nil to convert from the scene’s world coordinate space.

## Return Value

Return Value A transform relative to the node’s coordinate space.

## See Also

### Related Documentation

- [convertTransform(_:from:)](scenekit/scnnode/converttransform(_:from:).md)

### Converting Between Coordinate Spaces

- [simdConvertPosition(_:from:)](scenekit/scnnode/simdconvertposition(_:from:).md)
- [simdConvertPosition(_:to:)](scenekit/scnnode/simdconvertposition(_:to:).md)
- [simdConvertTransform(_:to:)](scenekit/scnnode/simdconverttransform(_:to:).md)
- [simdConvertVector(_:from:)](scenekit/scnnode/simdconvertvector(_:from:).md)
- [simdConvertVector(_:to:)](scenekit/scnnode/simdconvertvector(_:to:).md)
