simdConvertTransform(_:to:)
Converts a transform from the node’s local coordinate space to that of another node.
Declaration
func simdConvertTransform(_ transform: simd_float4x4, to node: SCNNode?) -> simd_float4x4Parameters
- transform:
A transform relative to the node’s coordinate space.
- node:
Another node in the same scene graph as the node, or
nilto convert to the scene’s world coordinate space.
Return Value
A transform relative to the local coordinate space defined by the other node.