<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> <title>Crystal Space 1.2.1: csScreenTargetResult Struct Reference (Crystal Space 1.2.1 Public API Reference)</title> <link href="tabs.css" rel="stylesheet" type="text/css"> <link href="doxygen.css" rel="stylesheet" type="text/css"> </head><body> <table border="0" cellpadding="0" cellspacing="0" width="100%" class="head"> <tr height="59"> <td class="head" width="202" valign="bottom" style="padding-left:0;"><a href="http://www.crystalspace3d.org/"><img src="csblur.png" width="236" height="59" alt="CrystalSpace" border="0"></a></td> <td class="head"><h2>Public API Reference</h2></td> </tr> <tr height="11"> <td colspan="2" class="headshadow" valign="top" style="padding-left:0;"><img src="csblurb.png" width="236" height="11" alt="" border="0"></td> </tr> </table> <div class="content"> <!-- Generated by Doxygen 1.5.3 --> <div class="tabs"> <ul> <li><a href="index.html"><span>Main Page</span></a></li> <li><a href="modules.html"><span>Modules</span></a></li> <li><a href="namespaces.html"><span>Namespaces</span></a></li> <li class="current"><a href="classes.html"><span>Classes</span></a></li> <li><a href="files.html"><span>Files</span></a></li> <li><a href="pages.html"><span>Related Pages</span></a></li> </ul> </div> <div class="tabs"> <ul> <li><a href="classes.html"><span>Alphabetical List</span></a></li> <li><a href="annotated.html"><span>Class List</span></a></li> <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> <li><a href="functions.html"><span>Class Members</span></a></li> </ul> </div> <h1>csScreenTargetResult Struct Reference</h1><!-- doxytag: class="csScreenTargetResult" -->This structure is returned by <a class="el" href="classcsEngineTools.html#7024d7f1c7cec5e285c4d8989ea891ac" title="Given a screen space coordinate (with (0,0) being top-left corner of screen) this...">csEngineTools::FindScreenTarget()</a>. <a href="#_details">More...</a> <p> <code>#include <<a class="el" href="enginetools_8h-source.html">cstool/enginetools.h</a>></code> <p> <p> <a href="structcsScreenTargetResult-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0"> <tr><td></td></tr> <tr><td colspan="2"><br><h2>Public Attributes</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classcsVector3.html">csVector3</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="structcsScreenTargetResult.html#64893f7e4752e5423c15df47bbf7139a">isect</a></td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">The intersection point (in world space) on the mesh where we hit. <a href="#64893f7e4752e5423c15df47bbf7139a"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="structiMeshWrapper.html">iMeshWrapper</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="structcsScreenTargetResult.html#2c6cc3f390829afb34ea6297d0a435be">mesh</a></td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">The mesh that was hit or 0 if nothing was hit. <a href="#2c6cc3f390829afb34ea6297d0a435be"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="structcsScreenTargetResult.html#f7a0bc39b545eb3914c1a03ae8d9dbba">polygon_idx</a></td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">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. <a href="#f7a0bc39b545eb3914c1a03ae8d9dbba"></a><br></td></tr> </table> <hr><a name="_details"></a><h2>Detailed Description</h2> This structure is returned by <a class="el" href="classcsEngineTools.html#7024d7f1c7cec5e285c4d8989ea891ac" title="Given a screen space coordinate (with (0,0) being top-left corner of screen) this...">csEngineTools::FindScreenTarget()</a>. <p>Definition at line <a class="el" href="enginetools_8h-source.html#l00060">60</a> of file <a class="el" href="enginetools_8h-source.html">enginetools.h</a>.</p> <hr><h2>Member Data Documentation</h2> <a class="anchor" name="64893f7e4752e5423c15df47bbf7139a"></a><!-- doxytag: member="csScreenTargetResult::isect" ref="64893f7e4752e5423c15df47bbf7139a" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classcsVector3.html">csVector3</a> <a class="el" href="structcsScreenTargetResult.html#64893f7e4752e5423c15df47bbf7139a">csScreenTargetResult::isect</a> </td> </tr> </table> </div> <div class="memdoc"> <p> The intersection point (in world space) on the mesh where we hit. <p> If no mesh was hit this will be set to the end point of the beam that was used for testing. <p>Definition at line <a class="el" href="enginetools_8h-source.html#l00072">72</a> of file <a class="el" href="enginetools_8h-source.html">enginetools.h</a>.</p> </div> </div><p> <a class="anchor" name="2c6cc3f390829afb34ea6297d0a435be"></a><!-- doxytag: member="csScreenTargetResult::mesh" ref="2c6cc3f390829afb34ea6297d0a435be" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="structiMeshWrapper.html">iMeshWrapper</a>* <a class="el" href="structcsScreenTargetResult.html#2c6cc3f390829afb34ea6297d0a435be">csScreenTargetResult::mesh</a> </td> </tr> </table> </div> <div class="memdoc"> <p> The mesh that was hit or 0 if nothing was hit. <p> <p>Definition at line <a class="el" href="enginetools_8h-source.html#l00065">65</a> of file <a class="el" href="enginetools_8h-source.html">enginetools.h</a>.</p> </div> </div><p> <a class="anchor" name="f7a0bc39b545eb3914c1a03ae8d9dbba"></a><!-- doxytag: member="csScreenTargetResult::polygon_idx" ref="f7a0bc39b545eb3914c1a03ae8d9dbba" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">int <a class="el" href="structcsScreenTargetResult.html#f7a0bc39b545eb3914c1a03ae8d9dbba">csScreenTargetResult::polygon_idx</a> </td> </tr> </table> </div> <div class="memdoc"> <p> 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. <p> If not then this will be -1. <p>Definition at line <a class="el" href="enginetools_8h-source.html#l00079">79</a> of file <a class="el" href="enginetools_8h-source.html">enginetools.h</a>.</p> </div> </div><p> <hr>The documentation for this struct was generated from the following file:<ul> <li>cstool/<a class="el" href="enginetools_8h-source.html">enginetools.h</a></ul> <hr size="1"><address><small>Generated for Crystal Space 1.2.1 by <a href="http://www.doxygen.org/index.html">doxygen</a> 1.5.3 </small></address> </div></body> </html>