Class ManipHitData

3DS Max Plug-In SDK

Class ManipHitData

See Also: Class HitData, Class Manipulator

class ManipHitData : public HitData

Description:

This class is available in release 4.0 and later only.

This is a special storage class for hit records that keep track of which manipulator was hit.

 

Data Members:

public:

Manipulator* mpManip;

A pointer to the manipulator associated with the hit data.

int mShapeIndex;

The index of the selected manipulator.

Methods:

public:

Prototype:

ManipHitData(Manipulator* pManip);

Remarks:

Constructor.

Parameters:

Manipulator* pManip

A pointer to the manipulator to use.

Prototype:

ManipHitData();

Remarks:

Constructor.

Prototype:

~ManipHitData();

Remarks:

Destructor.

Prototype:

virtual ManipHitData* Copy();

Remarks:

This method allows you to copy the hit data.

Default Implementation:

{ return new ManipHitData(mpManip); }