Class DADBitmapCarrier

3DS Max Plug-In SDK

Class DADBitmapCarrier

See Also: Class ReferenceTarget.

class DADBitmapCarrier: public ReferenceTarget

Description:

This class is available in release 2.0 and later only.

It is used to provide drag and drop functionality for Bitmaps. See the following global function for getting a pointer to the instances of this class.

All methods of this class are implemented by the system.

Function:

DADBitmapCarrier *GetDADBitmapCarrier();

Remarks:

This global function returns a pointer to the BitmapCarrier. Note that there is only two of these: one for the source, and one for the destination. Developers should not delete these. Sample code using this class is available in \MAXSDK\SAMPLES\MATERIALS\BMTEX.CPP.

Methods:

Prototype:

void SetName(TSTR &nm);

Remarks:

Sets the name of the bitmap carrier.

Parameters:

TSTR &nm

The name to set.

Prototype:

TSTR& GetName();

Remarks:

This method is available in release 2.0 and later only.

Returns the name of the bitmap carrier.