Camera::toWorldPosition()
Which world position shows at a place on the stage.
Syntax
Java
.toWorldPosition(screen)
Parameters
| Name | Data Type | Description |
|---|---|---|
| screen | Vector2 | a screen position (origin at the stage's centre) |
Return
Vector2
Which world position shows at a place on the stage.
.toWorldPosition(screen)
| Name | Data Type | Description |
|---|---|---|
| screen | Vector2 | a screen position (origin at the stage's centre) |
Vector2