List of ControlType2 Choices

3DS Max Plug-In SDK

List of ControlType2 Choices

See Also: Class IParamBlock2, Structure ParamDef, Class ParamBlockDesc2.

Description:

This data is available in release 3.0 and later only.

This is the list of user interface control choices available for use with parameter block2s. There is one of these associated with each parameter definition in a ParamBlockDesc2.

enum ControlType2

{

TYPE_SPINNER

A custom spinner control.

TYPE_RADIO

A radio button control.

TYPE_SINGLECHEKBOX

A single checkbox control.

TYPE_MULTICHEKBOX

A multiple checkbox control. This control type is not currently supported.

TYPE_COLORSWATCH

A color swatch color control.

TYPE_EDITBOX

An edit box control.

TYPE_CHECKBUTTON

A check button control. This button's state is either pressed or not.

TYPE_PICKNODEBUTTON

A node picker button.

TYPE_TEXMAPBUTTON

A texture map selector button. This button supports drag and drop of texmaps.

TYPE_MTLBUTTON

A material selector button. This button supports drag and drop of materials.

TYPE_FILEOPENBUTTON

A file open button.

TYPE_FILESAVEBUTTON

A file save button.

TYPE_INTLISTBOX

A list box control for integers.

TYPE_FLOATLISTBOX

A list box control for floats.

TYPE_STRINGLISTBOX

A list box control for strings.

TYPE_NODELISTBOX

A list box control for nodes.

TYPE_MAPLISTBOX

A list box control for maps.

TYPE_SLIDER

A custom slider control.

};