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