![]() |
Public API Reference |
![]() |
This structure is returned by csEngineTools::FindScreenTarget(). More...
#include <cstool/enginetools.h>
Public Attributes | |
csVector3 | isect |
The intersection point (in world space) on the mesh where we hit. | |
iMeshWrapper * | mesh |
The mesh that was hit or 0 if nothing was hit. | |
int | polygon_idx |
If the accurate method of testing was used (not using collider system) then (depending on type of mesh) this might contain a polygon index that was hit. |
This structure is returned by csEngineTools::FindScreenTarget().
Definition at line 60 of file enginetools.h.
The intersection point (in world space) on the mesh where we hit.
If no mesh was hit this will be set to the end point of the beam that was used for testing.
Definition at line 72 of file enginetools.h.
The mesh that was hit or 0 if nothing was hit.
Definition at line 65 of file enginetools.h.
If the accurate method of testing was used (not using collider system) then (depending on type of mesh) this might contain a polygon index that was hit.
If not then this will be -1.
Definition at line 79 of file enginetools.h.