MAX_S3D_PluginClassDesc

This is the highest level class used by the exporter. It instantiates some of the other exporter classes as needed. It also provides plug-in-specific information to 3D Studio MAX§.

When to use

This class is used internally by MAX and generally should not be directly instantiated by third party developers. Developers should override methods of this class, however, to return information describing their own particular plug-in.

Interface Methods

Description

Category

Describes plug-in type

Create

Instantiates main exporter class

ClassID

Returns unique identifier of the object

ClassName

Returns name of the object

DeleteThis

Destroys the object

IsPublic

Determines whether the plug-in shows up in the export list

SuperClassID

Returns an ID of the class from which this plug-in was derived


MAX_S3D_PluginClassDesc::Category()

This method returns a string that describes this plug-in type.

Parameters:

None

Return Values:

const TCHAR*

Plug-in type


MAX_S3D_PluginClassDesc::Create(BOOL loading = FALSE)

This method instantiates the main exporter class (MAX_S3D_Plugin).

Parameters:

BOOL loading

This is a flag that determines if the main exporter object is to be loaded from a disk file. If TRUE, then the object is loaded from disk; if FALSE, then it is created in main memory.

Return Values:

None


MAX_S3D_PluginClassDesc::ClassID()

This method returns the unique identifier for this object.

Parameters:

None

Return Values:

Class_ID

The class identifier for this object


MAX_S3D_PluginClassDesc::ClassName()

This method returns the name of this object.

Parameters:

None

Return Vvalues:

const TCHAR*

The class name


MAX_S3D_PluginClassDesc::DeleteThis()

This method is called by MAX to destroy this object.

Parameters:

None

Return Values:

None


MAX_S3D_PluginClassDesc::IsPublic()

This method determines whether this plug-in shows up in lists for the user to choose from.

Parameters:

None

Return Values:

I32

1 if this is a public class, 0 otherwise


MAX_S3D_PluginClassDesc::SuperClassID()

This method returns a system-defined identifier describing the top-level class from which this plug-in class was derived.

Parameters:

None

Return Values:

SClass_ID

The identifier for the top level parent of this class

 

§See asterisked (*) statement at Legal Information © 2001 Intel Corporation.