Projects a point from the 3D world coordinate system of the SceneKit scene to the 2D viewport coordinate system of the SpriteKit node.
- iOS 8.0+
- macOS 10.10+
- Mac Catalyst 13.0+
- tvOS 9.0+
- watchOS 3.0+
A point in the world coordinate system of the Scene Kit scene.
The corresponding point in the SpriteKit node’s coordinate system.
The z-coordinate of the returned point describes the depth of the projected point relative to the near and far clipping planes of the viewing frustum (defined by the
point property). Projecting a point on the near clipping plane returns a point whose z-coordinate is
0; projecting a point on the far clipping plane returns a point whose z-coordinate is