convertPoint(fromView:)
Converts a point from view coordinates to scene coordinates.
Declaration
func convertPoint(fromView point: CGPoint) -> CGPointParameters
- point:
A point in view coordinates.
Return Value
The same point in the scene’s coordinate system.
Discussion
The scene must be presented in a view before calling this method.