Diese Seite ist noch nicht übersetzt. Sie wird in ihrer Originalsprache angezeigt.
Camera::setPosition()
Centres the camera on a world position.
Examples
Syntax
Java
.setPosition(x, y)
.setPosition(position)
Parameters
| Name | Data Type | Description |
|---|---|---|
| x | double | world x |
| y | double | world y |
| position | Vector2 | world position |
Return
void