|
| Camera3D (::Vector3 position, ::Vector3 target=::Vector3{0.0f, 0.0f, 0.0f}, ::Vector3 up=::Vector3{0.0f, 1.0f, 0.0f}, float fovy=0, int projection=CAMERA_PERSPECTIVE) |
| Create a new Camera3D. More...
|
|
| Camera3D (const ::Camera3D &camera) |
|
Camera3D & | BeginMode () |
| Initializes 3D mode with custom camera (3D)
|
|
void | DrawBillboard (const ::Texture2D &texture, ::Rectangle sourceRec, ::Vector3 center, ::Vector2 size, ::Color tint={255, 255, 255, 255}) const |
| Draw a billboard texture defined by source.
|
|
void | DrawBillboard (const ::Texture2D &texture, ::Vector3 center, float size, ::Color tint={255, 255, 255, 255}) const |
| Draw a billboard texture.
|
|
Camera3D & | EndMode () |
| Ends 3D mode and returns to default 2D orthographic mode.
|
|
float | GetFovy () const |
| Retrieves the fovy value for the object. More...
|
|
Matrix | GetMatrix () const |
| Get camera transform matrix (view matrix)
|
|
Ray | GetMouseRay (::Vector2 mousePosition) const |
| Returns a ray trace from mouse position.
|
|
::Vector3 | GetPosition () const |
| Retrieves the position value for the object. More...
|
|
int | GetProjection () const |
| Retrieves the projection value for the object. More...
|
|
Ray | GetScreenToWorldRay (::Vector2 position, int width, int height) |
| Get a ray trace from screen position (i.e mouse) in a viewport.
|
|
::Vector3 | GetTarget () const |
| Retrieves the target value for the object. More...
|
|
::Vector3 | GetUp () const |
| Retrieves the up value for the object. More...
|
|
Vector2 | GetWorldToScreen (::Vector3 position) const |
| Returns the screen space position for a 3d world space position.
|
|
Camera3D & | operator= (const ::Camera3D &camera) |
|
void | SetFovy (float value) |
| Sets the fovy value for the object. More...
|
|
void | SetPosition (::Vector3 value) |
| Sets the position value for the object. More...
|
|
void | SetProjection (int value) |
| Sets the projection value for the object. More...
|
|
void | SetTarget (::Vector3 value) |
| Sets the target value for the object. More...
|
|
void | SetUp (::Vector3 value) |
| Sets the up value for the object. More...
|
|
Camera3D & | Update (::Vector3 movement, ::Vector3 rotation, float zoom=1.0f) |
| Update camera movement/rotation.
|
|
Camera3D & | Update (int mode) |
| Update camera position for selected mode.
|
|
Camera type, defines a camera position/orientation in 3d space.
Definition at line 12 of file Camera3D.hpp.