Class SceneFileDropType

3DS Max Plug-In SDK

Class SceneFileDropType

Class SceneFileDropType

See Also: Class FileDropType, List of DropTypes

class SceneFileDropType : public FileDropType

Description:

This class is available in release 4.0 and later only.

This class represents the scene file (*.max) DropType and is available through the built-in type instance sceneFileDropType.

Methods:

public:

Prototype:

virtual int TypeCode()=0;

Remarks:

This method returns the typecode of the DropType.

Default Implementation:

{ return SCENEFILE_DROPTYPE; }

Prototype:

virtual bool CheckDropType(TCHAR* filename);

Remarks:

This method checks if the file type associated with the DropType is recognized.

Parameters:

TCHAR* filename

The filename suffix.

Return Value:

TRUE if the filename suffix checks out, otherwise FALSE.