3ds Max C++ API Reference
ActionDescription Struct Reference

Description of a command for building action tables from static data This is a helper structure used for building ActionTables. More...

#include <actiontable.h>

Public Attributes

int mCmdID
 A unique identifier for the command (must be unique per table). More...
 
int mDescriptionResourceID
 A string resource id that describes the command. More...
 
int mShortNameResourceID
 A string resource ID for a short name for the action. More...
 
int mCategoryResourceID
 A string resource ID for the category of an operation. More...
 

Detailed Description

Description of a command for building action tables from static data This is a helper structure used for building ActionTables.

A static array of these descriptors is passed to the ActionTable constructor.

Version
4.0
See also
Class ActionTable, Class ActionItem, Class ActionCallback.

Member Data Documentation

◆ mCmdID

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().

◆ mDescriptionResourceID

int mDescriptionResourceID

A string resource id that describes the command.

◆ mShortNameResourceID

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.

◆ mCategoryResourceID

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.