|
| RayCollision (bool hit, float distance, ::Vector3 point, ::Vector3 normal) |
|
| RayCollision (const ::Ray &ray, ::Vector3 center, float radius) |
| Get collision info between ray and sphere.
|
|
| RayCollision (const ::Ray &ray, ::Vector3 p1, ::Vector3 p2, ::Vector3 p3) |
| Get collision info between ray and triangle.
|
|
| RayCollision (const ::Ray &ray, ::Vector3 p1, ::Vector3 p2, ::Vector3 p3, ::Vector3 p4) |
| Get collision info between ray and quad.
|
|
| RayCollision (const ::Ray &ray, const ::BoundingBox &box) |
| Get collision info between ray and bounding box.
|
|
| RayCollision (const ::Ray &ray, const ::Mesh &mesh, const ::Matrix &transform) |
| Get collision info between ray and mesh.
|
|
| RayCollision (const ::RayCollision &ray) |
|
float | GetDistance () const |
| Retrieves the distance value for the object. More...
|
|
bool | GetHit () const |
| Retrieves the hit value for the object. More...
|
|
::Vector3 | GetNormal () const |
| Retrieves the normal value for the object. More...
|
|
::Vector3 | GetPosition () const |
| Retrieves the point value for the object. More...
|
|
RayCollision & | operator= (const ::RayCollision &ray) |
|
void | SetDistance (float value) |
| Sets the distance value for the object. More...
|
|
void | SetHit (bool value) |
| Sets the hit value for the object. More...
|
|
void | SetNormal (::Vector3 value) |
| Sets the normal value for the object. More...
|
|
void | SetPosition (::Vector3 value) |
| Sets the point value for the object. More...
|
|
Raycast hit information.
Definition at line 11 of file RayCollision.hpp.