Class XFormModes

3DS Max Plug-In SDK

Class XFormModes

See Also: List of Standard Sub-Object Modes.

class XFormModes

Description:

This class contains a set of six command mode pointers that make up the XForm modes. Plug-in developers can specify these for their sub-object types. See the method ActivateSubobjSel in class BaseObject or class Control for more details.

Data Members:

public:

CommandMode *move;

Standard command mode to process Move.

CommandMode *rotate;

Standard command mode to process Rotate.

CommandMode *scale;

Standard command mode to process Non-Uniform Scale.

CommandMode *uscale;

Standard command mode to process Uniform Scale.

CommandMode *squash;

Standard command mode to process Squash.

CommandMode *select;

Standard command mode to process Selection.

Methods:

Prototype:

XFormModes();

Remarks:

Constructor. All the data members are set to NULL.

Prototype:

XFormModes(CommandMode *move,CommandMode *rotate,CommandMode *scale,CommandMode *uscale,CommandMode *squash,CommandMode *select)

Remarks:

Constructor. The data members are set to the command modes passed.