Panda3D
|
This structure captures results for a single raycast query. More...
#include "physxRaycastHit.h"
Public Member Functions | |
PhysxRaycastHit (const NxRaycastHit hit) | |
float | get_distance () const |
LVector3f | get_impact_normal () const |
LPoint3f | get_impact_pos () const |
PhysxShape * | get_shape () const |
bool | is_empty () const |
This structure captures results for a single raycast query.
See PhysxScene for raycasting methods.
Definition at line 28 of file physxRaycastHit.h.
|
inline |
Definition at line 17 of file physxRaycastHit.I.
|
inline |
Definition at line 26 of file physxRaycastHit.I.
float PhysxRaycastHit::get_distance | ( | ) | const |
Definition at line 58 of file physxRaycastHit.cxx.
LVector3f PhysxRaycastHit::get_impact_normal | ( | ) | const |
Definition at line 49 of file physxRaycastHit.cxx.
LPoint3f PhysxRaycastHit::get_impact_pos | ( | ) | const |
Definition at line 40 of file physxRaycastHit.cxx.
PhysxShape * PhysxRaycastHit::get_shape | ( | ) | const |
Definition at line 30 of file physxRaycastHit.cxx.
bool PhysxRaycastHit::is_empty | ( | ) | const |
Definition at line 21 of file physxRaycastHit.cxx.