Raycast hit information.
More...
Raycast hit information.
Definition at line 11 of file RayCollision.hpp.
◆ GetDistance()
float raylib::RayCollision::GetDistance |
( |
| ) |
const |
|
inline |
Retrieves the distance value for the object.
- Returns
- The distance value of the object.
Definition at line 49 of file RayCollision.hpp.
◆ GetHit()
bool raylib::RayCollision::GetHit |
( |
| ) |
const |
|
inline |
Retrieves the hit value for the object.
- Returns
- The hit value of the object.
Definition at line 48 of file RayCollision.hpp.
◆ GetNormal()
::Vector3 raylib::RayCollision::GetNormal |
( |
| ) |
const |
|
inline |
Retrieves the normal value for the object.
- Returns
- The normal value of the object.
Definition at line 51 of file RayCollision.hpp.
◆ GetPosition()
::Vector3 raylib::RayCollision::GetPosition |
( |
| ) |
const |
|
inline |
Retrieves the point value for the object.
- Returns
- The point value of the object.
Definition at line 50 of file RayCollision.hpp.
◆ SetDistance()
void raylib::RayCollision::SetDistance |
( |
float |
value | ) |
|
|
inline |
Sets the distance value for the object.
- Parameters
-
value | The value of which to set distance to. |
Definition at line 49 of file RayCollision.hpp.
◆ SetHit()
void raylib::RayCollision::SetHit |
( |
bool |
value | ) |
|
|
inline |
Sets the hit value for the object.
- Parameters
-
value | The value of which to set hit to. |
Definition at line 48 of file RayCollision.hpp.
◆ SetNormal()
void raylib::RayCollision::SetNormal |
( |
::Vector3 |
value | ) |
|
|
inline |
Sets the normal value for the object.
- Parameters
-
value | The value of which to set normal to. |
Definition at line 51 of file RayCollision.hpp.
◆ SetPosition()
void raylib::RayCollision::SetPosition |
( |
::Vector3 |
value | ) |
|
|
inline |
Sets the point value for the object.
- Parameters
-
value | The value of which to set point to. |
Definition at line 50 of file RayCollision.hpp.