CrystalSpace

Public API Reference

csScreenTargetResult Struct Reference

This structure is returned by csEngineTools::FindScreenTarget(). More...

#include <cstool/enginetools.h>

List of all members.

Public Attributes

csVector3 isect
 The intersection point (in world space) on the mesh where we hit.
iMeshWrappermesh
 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.


Detailed Description

This structure is returned by csEngineTools::FindScreenTarget().

Definition at line 60 of file enginetools.h.


Member Data Documentation

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.


The documentation for this struct was generated from the following file:
Generated for Crystal Space 1.0.2 by doxygen 1.4.7