This class allows access to the sub-object hit records used in Mesh hit testing.
All methods of this class are implemented by the system.
#include <mesh.h>
Public Member Functions |
|
MeshSubHitRec (DWORD dist, int index, MeshSubHitRec *next) | |
Constructor. |
|
MeshSubHitRec (DWORD dist, int index, DWORD flags, MeshSubHitRec *next) | |
Constructor. |
|
MeshSubHitRec * | Next () |
Returns the next mesh sub hit record.
|
|
Public Attributes |
|
DWORD | dist |
The distance of the hit. |
|
int | index |
The index of the sub-object component.
|
|
DWORD | flags |
MeshSubHitRec | ( | DWORD | dist, |
int | index, | ||
MeshSubHitRec * | next | ||
) | [inline] |
MeshSubHitRec | ( | DWORD | dist, |
int | index, | ||
DWORD | flags, | ||
MeshSubHitRec * | next | ||
) | [inline] |
MeshSubHitRec* Next | ( | ) | [inline] |
DWORD dist |
The distance of the hit.
If the user is in wireframe mode, this is the distance in pixels to the item that was hit. If the user is in shaded mode, this is the Z depth distance. Smaller numbers indicate a closer hit.
int index |
DWORD flags |