Definition at line 33 of file Camera2D.hpp.
◆ Camera2D() [1/3]
| raylib::Camera2D::Camera2D |
( |
| ) |
|
|
inline |
◆ Camera2D() [2/3]
| raylib::Camera2D::Camera2D |
( |
const ::Camera2D & |
camera | ) |
|
|
inline |
◆ Camera2D() [3/3]
| raylib::Camera2D::Camera2D |
( |
::Vector2 |
offsetValue, |
|
|
::Vector2 |
targetValue, |
|
|
float |
rotationValue = 0, |
|
|
float |
zoomValue = 1 |
|
) |
| |
|
inline |
◆ BeginMode()
| Camera2D& raylib::Camera2D::BeginMode |
( |
| ) |
|
|
inline |
◆ EndMode()
◆ GetMatrix()
| Matrix raylib::Camera2D::GetMatrix |
( |
| ) |
const |
|
inline |
Returns camera 2d transform matrix.
Definition at line 71 of file Camera2D.hpp.
◆ GetOffset()
| inline ::Vector2 raylib::Camera2D::GetOffset |
( |
| ) |
const |
|
inline |
◆ GetRotation()
| float raylib::Camera2D::GetRotation |
( |
| ) |
const |
|
inline |
◆ GetScreenToWorld()
| Vector2 raylib::Camera2D::GetScreenToWorld |
( |
::Vector2 |
position | ) |
const |
|
inline |
Returns the world space position for a 2d camera screen space position.
Definition at line 85 of file Camera2D.hpp.
◆ GetTarget()
| inline ::Vector2 raylib::Camera2D::GetTarget |
( |
| ) |
const |
|
inline |
◆ GetWorldToScreen()
| Vector2 raylib::Camera2D::GetWorldToScreen |
( |
::Vector2 |
position | ) |
const |
|
inline |
Returns the screen space position for a 3d world space position.
Definition at line 78 of file Camera2D.hpp.
◆ GetZoom()
| float raylib::Camera2D::GetZoom |
( |
| ) |
const |
|
inline |
◆ operator=()
◆ set()
| void raylib::Camera2D::set |
( |
const ::Camera2D & |
camera | ) |
|
|
inlineprotected |
◆ SetOffset()
| void raylib::Camera2D::SetOffset |
( |
::Vector2 |
value | ) |
|
|
inline |
◆ SetRotation()
| void raylib::Camera2D::SetRotation |
( |
float |
value | ) |
|
|
inline |
◆ SetTarget()
| void raylib::Camera2D::SetTarget |
( |
::Vector2 |
value | ) |
|
|
inline |
◆ SetZoom()
| void raylib::Camera2D::SetZoom |
( |
float |
value | ) |
|
|
inline |