Controller API Elements
Principal Classes
The following are the main class used when dealing with controllers in the SDK.
- Control - This is the base class for the creation of controller plug-ins.
- StdControl -This class provides a simplified way to create controller plug-ins. Developers who
sub-classs their plug-in from this class will have fewer methods to implement.
- IKeyControl - This class is used to access the properties of controllers. The standard 3ds Max
plug-ins support this interface. plug-in developers are encouraged to do so as well.
This allows other third-party developers to access your controller's data.
- SetXFormPacket - This class is used to allow a transform controller to know that it is being specifically
moved, rotated, or scaled.
- EaseCurveList - Ease curves vary the timing of a superior function curve. A normal function curve
charts an animated parameter value over time. An Ease curve charts changes to the
time of a function curve over time. A 3ds Max user may apply multiple ease curves
to a parameter. This class holds a list of ease curves and allows developers to access
their data.
- MultCurveList - The value of a multiplier curve is a scale factor applied to the value of its superior
function curve. This class holds a list of multiplier curves and allows developers
to access their data.
Interfaces
The following interface classes provide access to the parameters for the standard
3ds Max controllers:
Global Functions
There are some global functions developer may use that relate to controllers. These
provide things such as setting the default controllers used for various controller
types, creating new instances of different controller types, turning animation mode
on and off, temporarily suspending animate mode, and getting/setting the animation
start and end times. There are also some global functions which provide access to
the default tangent types for both the Bezier and TCB controllers.