Converts a 2D viewPort point into the equivalent screen 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 screen. This can return null in the case where the input point is outside the bounds of the screen, which also means it's outside any viewport. |
Name | Type | Description |
viewCoordinate | Point2D | A 2D coordinate in the viewport. (0,0) indicates the upper-left corner of the viewport. |