Detailed Description
- See also:
- Class PatchMesh,
Class PatchSubHitRec.
- Description:
- This class describes a list of sub-patch hit records. Methods
are available to return the first PatchSubHitRec in the list, and
to add hits to the list. All methods of this class are implemented
by the system.
#include <patch.h>
List of all
members.
Constructor & Destructor Documentation
Member Function Documentation
CoreExport void AddHit |
( |
DWORD |
dist, |
|
|
PatchMesh * |
patch, |
|
|
int |
index, |
|
|
int |
type |
|
) |
|
|
- Parameters:
- 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.
PatchMesh
*patch
The PatchMesh
associated with this sub-patch hit.
int index
The index of the sub-object component. For example, if vertices
were being hit tested, this would be the index into the vertex
table.
int type
The type of the hit. One of the following values:
PATCH_HIT_PATCH
PATCH_HIT_EDGE
PATCH_HIT_VERTEX
PATCH_HIT_VECTOR
PATCH_HIT_INTERIOR
SubPatchHitList SubPatchHitList
SubPatchHitList SubPatchHitList SubPatchHitList SubPatchHitList
SubPatchHitList SubPatchHitList SubPatchHitList
SubPatchHitList
SubPatchHitList SubPatchHitList
SubPatchHitList SubPatchHitList SubPatchHitList SubPatchHitList
SubPatchHitList SubPatchHitList SubPatchHitList
SubPatchHitList