ParamBlockDescID Class Reference
#include <iparamb.h>
- See also
- Class ParamBlockDesc.
- Description:
- The parameter block descriptor describes each parameter in a parameter block. This version has an ID used to identify each parameter.
class ParamBlockDescID {
ParamType type;
UserType *user;
BOOL animatable;
DWORD id;
};
- Data Members:
- ParamType type
The parameter type. See ParamType and ParamType2.
UserType *user
This value is not currently used – it must always be passed as NULL.
BOOL animatable
This is a flag indicating if the parameter may be animated or not. Pass TRUE if the value may be animated and FALSE if it is constant.
DWORD id
This is an ID used to identify this parameter. This provides a solution to the problem of backwards compatibility. If you alter the parameter structure of your plug-in in the future (by adding or deleting parameters for example) previously saved 3ds Max files will be incompatible. You can however use a mechanism which uses these IDs to convert older versions to the current version. See the Advanced Topics section on Parameter Maps for more detail on how this is done.