Converts a 2D screen point into the equivalent viewport coordinate.
"viewport_var" is a variable referencing a Viewport object. |
"viewport_var" is a variable referencing a Viewport object. |
| Type | Description |
| Point2D | Returns the equivalent point in the viewport. This can return null in the case where the input screen point does not lie within the viewport. |
| Name | Type | Description |
| screenCoordinate | Point2D | A 2D coordinate in screen space. (0,0) indicates the upper-left corner of the entire screen. |