convert(_:to:)
Converts a point in this node’s coordinate system to the coordinate system of another node in the node tree.
Declaration
func convert(_ point: CGPoint, to node: SKNode) -> CGPointParameters
- point:
A point in this node’s coordinate system.
- node:
Another node in the same node tree as this node.
Mentioned in
Return Value
The same point converted to the other node’s coordinate system.