Camera2D type, defines a 2d camera.
More...
Camera2D type, defines a 2d camera.
Definition at line 12 of file Camera2D.hpp.
◆ GetOffset()
::Vector2 raylib::Camera2D::GetOffset |
( |
| ) |
const |
|
inline |
Retrieves the offset value for the object.
- Returns
- The offset value of the object.
Definition at line 30 of file Camera2D.hpp.
◆ GetRotation()
float raylib::Camera2D::GetRotation |
( |
| ) |
const |
|
inline |
Retrieves the rotation value for the object.
- Returns
- The rotation value of the object.
Definition at line 32 of file Camera2D.hpp.
◆ GetTarget()
::Vector2 raylib::Camera2D::GetTarget |
( |
| ) |
const |
|
inline |
Retrieves the target value for the object.
- Returns
- The target value of the object.
Definition at line 31 of file Camera2D.hpp.
◆ GetZoom()
float raylib::Camera2D::GetZoom |
( |
| ) |
const |
|
inline |
Retrieves the zoom value for the object.
- Returns
- The zoom value of the object.
Definition at line 33 of file Camera2D.hpp.
◆ SetOffset()
void raylib::Camera2D::SetOffset |
( |
::Vector2 |
value | ) |
|
|
inline |
Sets the offset value for the object.
- Parameters
-
value | The value of which to set offset to. |
Definition at line 30 of file Camera2D.hpp.
◆ SetRotation()
void raylib::Camera2D::SetRotation |
( |
float |
value | ) |
|
|
inline |
Sets the rotation value for the object.
- Parameters
-
value | The value of which to set rotation to. |
Definition at line 32 of file Camera2D.hpp.
◆ SetTarget()
void raylib::Camera2D::SetTarget |
( |
::Vector2 |
value | ) |
|
|
inline |
Sets the target value for the object.
- Parameters
-
value | The value of which to set target to. |
Definition at line 31 of file Camera2D.hpp.
◆ SetZoom()
void raylib::Camera2D::SetZoom |
( |
float |
value | ) |
|
|
inline |
Sets the zoom value for the object.
- Parameters
-
value | The value of which to set zoom to. |
Definition at line 33 of file Camera2D.hpp.