Functions | |
| void | IND_Camera2d::SetPosition (int pX, int pY) |
| void | IND_Camera2d::SetZoom (float pZoom) |
| void | IND_Camera2d::SetAngle (float pAngle) |
| int | IND_Camera2d::GetPosX () |
| Returns the x position of the camera. | |
| int | IND_Camera2d::GetPosY () |
| Returns the y position of the camera. | |
| float | IND_Camera2d::GetZoom () |
| Returns the zoom of the camera. | |
| float | IND_Camera2d::GetAngle () |
| Returns the angle of the camera. | |
| void IND_Camera2d::SetPosition | ( | int | pX, | |
| int | pY | |||
| ) | [inherited] |
Parameters:
This function sets the position of the camera. In order to see all the screen area the most usual position is to set the position just in the middle of the screen.
| void IND_Camera2d::SetZoom | ( | float | pZoom | ) | [inherited] |
Parameters:
This function makes a zoom. Use this method if you want to zoom in or out the scenary.
Default: 1.0f
| void IND_Camera2d::SetAngle | ( | float | pAngle | ) | [inherited] |
Parameters:
This function sets the angle of the camera. Use this method in order to rotate the scenary.
Default: 0.0f
1.5.4