![]() |
Public API Reference |
![]() |
Return structure for the iMeshWrapper::HitBeam() routines. More...
#include <iengine/mesh.h>
Public Attributes | |
int | facehit |
Only for HitBeamBBox: Face number that was hit. | |
bool | hit |
For all except HitBeamBBox: true if hit, false otherwise. | |
csVector3 | isect |
Intersection point in object space. | |
iMaterialWrapper * | material |
Only for HitBeamObject and HitBeam: the material that was hit. | |
int | polygon_idx |
Only for HitBeamObject: the polygon/triangle index that was hit. | |
float | r |
Value between 0 and 1 indicating where on the segment the intersection occured. |
Return structure for the iMeshWrapper::HitBeam() routines.
Only for HitBeamBBox: Face number that was hit.
bool csHitBeamResult::hit |
float csHitBeamResult::r |