Structure ActionDescription

3DS Max Plug-In SDK

Structure ActionDescription

See Also: Class ActionTable, Class ActionItem, Class ActionCallback.

Description:

This structure is available in release 4.0 and later only.

This is a helper structure used for building ActionTables. A static array of these descriptors is passed to the ActionTable constructor.

struct ActionDescription {

int mCmdID;

A unique identifier for the command (must be unique per table). When an action is executed this is the command ID passed to ActionCallback::ExecuteAction().

int mDescriptionResourceID;

A string resource id that describes the command.

int mShortNameResourceID;

A string resource ID for a short name for the action. This name appears in the list of Actions in the Customize User Interface dialog.

int mCategoryResourceID;

A string resource ID for the category of an operation. This name appears in the Category drop down list in the Customize User Interface dialog.

};