Class SubObjHitList

3DS Max Plug-In SDK

Class SubObjHitList

See Also: Class MeshSubHitRec.

class SubObjHitList

Description:

This class describes a list of sub-object hit records. All methods of this class are implemented by the system.

Methods:

Prototype:

SubObjHitList();

Remarks:

Constructor. The list is set to NULL.

Prototype:

~SubObjHitList()

Remarks:

Destructor. All the hit records are deleted.

Prototype:

MeshSubHitRec *First();

Remarks:

Returns the first item in the hit list.

Prototype:

void AddHit( DWORD dist, int index );

Remarks:

Allocates and adds a new hit record to the list.

Parameters:

DWORD dist

The distance of the hit.

int index

The index of the hit.