C++ Java Unity
C++ Reference
HitTestResult Class Referenceabstract

Detailed Description

The result of a hit test performed by a SmartTerrain.

Inheritance diagram for HitTestResult:
NonCopyable

Public Member Functions

virtual Matrix34F getPose () const =0
 Get the position and orientation of the hit result, as a pose matrix. More...
 
virtual ~HitTestResult ()
 

Constructor & Destructor Documentation

virtual ~HitTestResult ( )
inlinevirtual

Member Function Documentation

virtual Matrix34F getPose ( ) const
pure virtual

Get the position and orientation of the hit result, as a pose matrix.

Note
The matrix is in row-major order. You may need to use Tool::convertPose2GLMatrix() or similar if you are using OpenGL.