Sets the horizontal and vertical offset of the camera from its follow target. The values are subtracted from the targets position during the Cameras update step.
name | type | arguments | description |
---|---|---|---|
x | number | <optional> |
The horizontal offset from the camera follow target.x position. |
y | number | <optional> |
The vertical offset from the camera follow target.y position. |
This Camera instance.