UnitySwiftKotlin←API Reference Return to API Reference index←packageNSDK NSDK←classPlaybackCamera PlaybackCamera Method projectPoint projectPointProjects a 3D world-space point into 2D viewport pixel coordinates (origin top-left).... Declaration func projectPoint(_ point: simd_float3, orientation: UIInterfaceOrientation, viewportSize: CGSize) -> CGPoint Summary Projects a 3D world-space point into 2D viewport pixel coordinates (origin top-left). Returns (-1, -1) if the point is behind the camera. Uses intrinsics and view for the given orientation.
Projects a 3D world-space point into 2D viewport pixel coordinates (origin top-left).
Returns (-1, -1) if the point is behind the camera. Uses intrinsics and view for the given orientation.