UnitySwiftKotlin←API Reference Return to API Reference index←packageNSDK NSDK←classNSDKCamera NSDKCamera Method projectPoint projectPointProjects a 3D point in world space into 2D viewport coordinates (origin top-left, in pixels).... Declaration func projectPoint(_ point: simd_float3, orientation: UIInterfaceOrientation, viewportSize: CGSize) -> CGPoint Summary Projects a 3D point in world space into 2D viewport coordinates (origin top-left, in pixels). Returns (-1, -1) if the point is behind the camera. Use with the same orientation and viewport size as rendering.
Projects a 3D point in world space into 2D viewport coordinates (origin top-left, in pixels).
Returns (-1, -1) if the point is behind the camera. Use with the same orientation and viewport size as rendering.