3ds Max C++ API Reference
|
#include <iparamb2.h>
Public Member Functions | |
PB2Export | ClassDesc2 () |
PB2Export | ~ClassDesc2 () |
PB2Export void | ResetClassParams (BOOL fileReset) override |
PB2Export int | NumParamBlockDescs () override |
PB2Export ParamBlockDesc2 * | GetParamBlockDesc (int i) override |
PB2Export ParamBlockDesc2 * | GetParamBlockDescByID (BlockID id) override |
PB2Export ParamBlockDesc2 * | GetParamBlockDescByName (const MCHAR *name) |
PB2Export void | AddParamBlockDesc (ParamBlockDesc2 *pbd) override |
PB2Export void | ClearParamBlockDescs () |
PB2Export void | BeginEditParams (IObjParam *ip, ReferenceMaker *obj, ULONG flags, Animatable *prev) override |
PB2Export void | EndEditParams (IObjParam *ip, ReferenceMaker *obj, ULONG flags, Animatable *prev) override |
PB2Export void | InvalidateUI () |
PB2Export void | InvalidateUI (ParamBlockDesc2 *pbd) override |
PB2Export void | InvalidateUI (ParamBlockDesc2 *pbd, ParamID id, int tabIndex=-1) |
PB2Export void | MakeAutoParamBlocks (ReferenceMaker *owner) override |
PB2Export int | NumParamMaps () override |
PB2Export IParamMap2 * | GetParamMap (int i) override |
PB2Export IParamMap2 * | GetParamMap (ParamBlockDesc2 *pbd, MapID map_id=0) |
PB2Export bool | SetUserDlgProc (ParamBlockDesc2 *pbd, MapID map_id, ParamMap2UserDlgProc *proc=nullptr) |
bool | SetUserDlgProc (ParamBlockDesc2 *pbd, ParamMap2UserDlgProc *proc=nullptr) override |
PB2Export ParamMap2UserDlgProc * | GetUserDlgProc (ParamBlockDesc2 *pbd, MapID map_id=0) |
PB2Export IAutoMParamDlg * | CreateParamDlgs (HWND hwMtlEdit, IMtlParams *imp, ReferenceTarget *obj) |
PB2Export IAutoMParamDlg * | CreateParamDlg (BlockID id, HWND hwMtlEdit, IMtlParams *imp, ReferenceTarget *obj, MapID mapID=0) |
PB2Export IAutoEParamDlg * | CreateParamDialogs (IRendParams *ip, SpecialFX *obj) |
PB2Export IAutoRendererParamDlg * | CreateParamDialogs (IRendParams *ip, Renderer &renderer) |
Creates the automatically-managed parameter dialogs defined with the P_AUTO_UI or P_AUTO_UI_QT flags in the parameter block descriptors. | |
PB2Export IAutoRendererParamDlg * | CreateParamDialog (BlockID id, IRendParams *ip, Renderer &renderer, MapID mapID) |
Creates the automatically-managed parameter dialog for the given parameter block and parameter map only. | |
PB2Export IAutoEParamDlg * | CreateParamDialog (BlockID id, IRendParams *ip, SpecialFX *obj, MapID mapID=0) |
PB2Export void | MainDlgDeleted (IAutoMParamDlg *dlg) |
PB2Export void | MainDlgDeleted (IAutoEParamDlg *dlg) |
PB2Export void | MainDlgDeleted (IAutoRendererParamDlg &dlg) |
Used internally. | |
PB2Export IAutoMParamDlg * | GetMParamDlg () |
PB2Export IAutoEParamDlg * | GetEParamDlg () |
PB2Export void | RestoreRolloutState () |
PB2Export ParamID | LastNotifyParamID (ReferenceMaker *owner, IParamBlock2 *&pb) |
PB2Export void | Reset (ReferenceMaker *owner, BOOL updateUI=TRUE, BOOL callSetHandlers=TRUE) |
PB2Export void | GetValidity (ReferenceMaker *owner, TimeValue t, Interval &valid) |
PB2Export void | RemoveParamBlockDesc (ParamBlockDesc2 *pbd) |
virtual MaxSDK::QMaxParamBlockWidget * | CreateQtWidget (ReferenceMaker &owner, IParamBlock2 ¶mBlock, const MapID paramMapID, MSTR &rollupTitle, int &rollupFlags, int &rollupCategory) |
Creates a Qt widget to be associated with the given parameter map ID. | |
virtual MaxSDK::QMaxParamBlockWidget * | CreateQtWidget (ReferenceMaker &owner, IParamBlock2 ¶mBlock, const MapID paramMapID, MSTR &rollupTitle, int &rollupFlags, int &rollupCategory, Class_ID &tabID) |
Creates a Qt widget that is connected to the given parameter block. | |
![]() | |
virtual | ~ClassDesc () |
virtual int | IsPublic ()=0 |
Controls if the plug-in shows up in lists from the user to choose from. | |
virtual const MCHAR * | ClassName ()=0 |
This method returns the name of the class. | |
virtual const MCHAR * | NonLocalizedClassName ()=0 |
This method returns the non-localized name of the class. | |
virtual const MCHAR * | InternalName () |
Returns a string which provides a fixed, machine parsable internal name for the plug-in. | |
virtual SClass_ID | SuperClassID ()=0 |
This method returns a system defined constant describing the class this plug-in class was derived from. | |
virtual Class_ID | ClassID ()=0 |
This method must return the unique ID for the object. | |
virtual const MCHAR * | Category ()=0 |
This methods returns a string describing the category a plug-in fits into. | |
virtual DWORD | InitialRollupPageState () |
This method returns a DWORD which is used to initialize the rollup state in both the create branch and the modify branch. | |
virtual bool | UseOnlyInternalNameForMAXScriptExposure () |
Returns true if only the InternalName is to be used for MAXScript exposure. | |
virtual HINSTANCE | HInstance () |
Returns the DLL instance handle of the plug-in. | |
virtual CoreExport const MCHAR * | GetRsrcString (INT_PTR id) |
Returns a pointer to the string from the resource string table. | |
virtual void | MakeAutoParamBlocks (ReferenceMaker *owner) |
This method creates the automatic parameter blocks for the specified plug-in. | |
virtual Class_ID | SubClassID () |
This method can be used for further categorizing plugins. | |
virtual void * | Create (BOOL loading=FALSE)=0 |
3ds Max calls this method when it needs a pointer to a new instance of the plug-in class. | |
virtual int | BeginCreate (Interface *i) |
The custom creation process of the plug-in object is handled by this method. | |
virtual int | EndCreate (Interface *i) |
The termination of the custom creation process is managed by the implementation of this method. | |
virtual BOOL | OkToCreate (Interface *i) |
This method is used to enable or disable the button that allows the plug-ins class to be created. | |
virtual BOOL | HasClassParams () |
If a plug-in class has default parameters that it needs to allow the user to edit, TRUE should be returned and EditClassParams() and ResetClassParams() should be implemented. | |
virtual void | EditClassParams (HWND hParent) |
If the user picks the class from the list this method is called. | |
virtual int | NumActionTables () |
3ds Max calls this to get the number of action tables a plug-in has. | |
virtual ActionTable * | GetActionTable (int i) |
Returns a pointer to the specified action table. | |
virtual BOOL | IsManipulator () |
Returns TRUE if the class implements a manipulator object; otherwise FALSE. | |
virtual BOOL | CanManipulate (ReferenceTarget *hTarget) |
The method returns true if the class is a manipulator and it manipulates the given base object, modifier or controller. | |
virtual BOOL | CanManipulateNode (INode *pNode) |
Returns TRUE if the manipulator applies to the given node; otherwise FALSE. | |
virtual Manipulator * | CreateManipulator (ReferenceTarget *hTarget, INode *pNode) |
Creates a manipulator object When a manipulator returns TRUE to CanManipulate(ReferenceTarget* hTarget), the system calls this version of CreateManipulator() to create an instance of the manipulator. | |
virtual Manipulator * | CreateManipulator (INode *pNode) |
Creates a manipulator object. | |
virtual BOOL | NeedsToSave () |
Returns TRUE if there is data associated with the class that needs to be saved in the 3ds Max file. | |
virtual IOResult | Save (ISave *isave) |
If NeedsToSave() returns TRUE then this method should be implemented to save the data associated with the class. | |
virtual IOResult | Load (ILoad *iload) |
If NeedsToSave() returns TRUE then this method should be implemented to load the data associated with the class. | |
virtual IParamMap2 * | GetParamMap (ParamBlockDesc2 *pbd) |
Returns a pointer to the parameter map2 whose descriptor is passed. | |
virtual ParamMap2UserDlgProc * | GetUserDlgProc (ParamBlockDesc2 *pbd) |
Returns a pointer to the parameter map 2 user dialog proc (if any) for the specified descriptor. | |
virtual bool | DrawRepresentation (COLORREF bkColor, HDC hDC, Rect &rect) |
Allows a plug-in to provide a custom image for display in Schematic View. | |
virtual int | NumInterfaces () |
Returns the number of function publishing interfaces maintained by the class descriptor. | |
virtual FPInterface * | GetInterfaceAt (int i) |
Returns the nth function publishing interface. | |
virtual CoreExport FPInterface * | GetInterface (Interface_ID id) |
Returns a pointer to the function publishing interface whose ID is specified. | |
virtual CoreExport FPInterface * | GetInterface (const MCHAR *name) |
Returns a pointer to the function publishing interface whose name is specified. | |
virtual CoreExport void | AddInterface (FPInterface *fpi) |
Adds the specified interface to the list maintained by this class descriptor. | |
virtual void | ClearInterfaces () |
Deletes all the interfaces maintained by the class descriptor. | |
virtual INT_PTR | Execute (int cmd, ULONG_PTR arg1=0, ULONG_PTR arg2=0, ULONG_PTR arg3=0) |
This function is maintained so the 3ds Max SDK can be extended without breaking backwards compatibility. | |
Protected Member Functions | |
void | SetMParamDlg (IAutoMParamDlg *dlg) |
Sets the root level material ParamDlg. | |
void | SetEParamDlg (IAutoEParamDlg *dlg) |
Sets the root level effect ParamDlg. | |
Tab< IParamMap2 * > & | GetParamMaps () |
Additional Inherited Members | |
![]() | |
static UtilExport void * | operator new (size_t size) |
Standard new operator used to allocate objects If there is insufficient memory, an exception will be thrown. | |
static UtilExport void * | operator new (size_t size, const std::nothrow_t &e) |
Standard new operator used to allocate objects if there is insufficient memory, NULL will be returned. | |
static UtilExport void * | operator new (size_t size, const char *filename, int line) |
New operator used to allocate objects that takes the filename and line number where the new was called If there is insufficient memory, an exception will be thrown. | |
static UtilExport void * | operator new (size_t size, int block_type, const char *filename, int line) |
New operator used to allocate objects that takes the type of memory, filename and line number where the new was called If there is insufficient memory, an exception will be thrown. | |
static UtilExport void * | operator new (size_t size, const std::nothrow_t &e, const char *filename, int line) |
New operator used to allocate objects that takes the filename and line number where the new was called If there is insufficient memory, NULL will be returned. | |
static UtilExport void * | operator new (size_t size, unsigned long flags) |
New operator used to allocate objects that takes extra flags to specify special operations If there is insufficient memory, an exception will be thrown. | |
static UtilExport void * | operator new (size_t size, const std::nothrow_t &e, unsigned long flags) |
New operator used to allocate objects that takes extra flags to specify special operations If there is insufficient memory, NULL will be returned. | |
static UtilExport void * | operator new[] (size_t size) |
New operator used to allocate arrays of objects If there is insufficient memory, an exception will be thrown. | |
static UtilExport void * | operator new[] (size_t size, const std::nothrow_t &e) |
New operator used to allocate arrays of objects If there is insufficient memory, NULL will be returned. | |
static UtilExport void * | operator new[] (size_t size, const char *filename, int line) |
New operator used to allocate arrays of objects If there is insufficient memory, an exception will be thrown. | |
static UtilExport void * | operator new[] (size_t size, int block_type, const char *filename, int line) |
New operator used to allocate arrays of objects. | |
static UtilExport void * | operator new[] (size_t size, const std::nothrow_t &e, const char *filename, int line) |
New operator used to allocate arrays of objects If there is insufficient memory, NULL will be returned. | |
static UtilExport void * | operator new[] (size_t size, unsigned long flags) |
New operator used to allocate arrays of objects If there is insufficient memory, an exception will be thrown. | |
static UtilExport void * | operator new[] (size_t size, const std::nothrow_t &e, unsigned long flags) |
New operator used to allocate arrays of objects If there is insufficient memory, NULL will be returned. | |
static UtilExport void | operator delete (void *ptr) |
Standard delete operator used to deallocate an object If the pointer is invalid, an exception will be thrown. | |
static UtilExport void | operator delete (void *ptr, const std::nothrow_t &e) |
Standard delete operator used to deallocate an object If the pointer is invalid, nothing will happen. | |
static UtilExport void | operator delete (void *ptr, const char *filename, int line) |
Delete operator used to deallocate an object that takes the filename and line number where the delete was called If the pointer is invalid, an exception will be thrown. | |
static UtilExport void | operator delete (void *ptr, int block_type, const char *filename, int line) |
Delete operator used to deallocate an object that takes the type of memory, filename and line number where the delete was called If the pointer is invalid, an exception will be thrown. | |
static UtilExport void | operator delete (void *ptr, const std::nothrow_t &e, const char *filename, int line) |
Delete operator used to deallocate an object that takes the filename and line number where the delete was called If the pointer is invalid, nothing will happen. | |
static UtilExport void | operator delete (void *ptr, unsigned long flags) |
Delete operator used to deallocate an object that takes extra flags to specify special operations If the pointer is invalid, an exception will be thrown. | |
static UtilExport void | operator delete (void *ptr, const std::nothrow_t &e, unsigned long flags) |
Delete operator used to deallocate an object that takes extra flags to specify special operations If the pointer is invalid, nothing will happen. | |
static UtilExport void | operator delete[] (void *ptr) |
Standard delete operator used to deallocate an array of objects If the pointer is invalid, an exception will be thrown. | |
static UtilExport void | operator delete[] (void *ptr, const std::nothrow_t &e) |
Standard delete operator used to deallocate an array of objects If the pointer is invalid, nothing will happen. | |
static UtilExport void | operator delete[] (void *ptr, const char *filename, int line) |
Delete operator used to deallocate an array of objects that takes the filename and line number where the delete was called If the pointer is invalid, an exception will be thrown. | |
static UtilExport void | operator delete[] (void *ptr, int block_type, const char *filename, int line) |
Delete operator used to deallocate an array of objects that takes the type of memory, filename and line number where the delete was called If the pointer is invalid, an exception will be thrown. | |
static UtilExport void | operator delete[] (void *ptr, const std::nothrow_t &e, const char *filename, int line) |
Delete operator used to deallocate an array of objects that takes the filename and line number where the delete was called If the pointer is invalid, nothing will happen. | |
static UtilExport void | operator delete[] (void *ptr, unsigned long flags) |
Delete operator used to deallocate an array of objects that takes extra flags to specify special operations If the pointer is invalid, an exception will be thrown. | |
static UtilExport void | operator delete[] (void *ptr, const std::nothrow_t &e, unsigned long flags) |
Delete operator used to deallocate an array of objects that takes extra flags to specify special operations If the pointer is invalid, an exception will be thrown. | |
static UtilExport void * | operator new (size_t size, void *placement_ptr) |
Placement new operator. | |
static UtilExport void | operator delete (void *ptr, void *placement_ptr) |
Placement delete operator. | |
static UtilExport void * | aligned_malloc (size_t size, size_t alignment) |
Allocates memory on a specified alignment boundary. | |
static UtilExport void * | aligned_realloc (void *ptr, size_t size, size_t alignment) |
Reallocates memory on a specified alignment boundary. | |
static UtilExport void | aligned_free (void *ptr) |
Frees a block of memory that was allocated with aligned_malloc/aligned_realloc. | |
PB2Export ClassDesc2 | ( | ) |
PB2Export ~ClassDesc2 | ( | ) |
|
inlineprotected |
Sets the root level material ParamDlg.
This method may be called by derived classes that want to handle the material ParamDlg creation themselves, instead of using one of the "paramdlg" creation methods of class ClassDesc2.
[in] | dlg | - The new main Material dialog pointer |
|
inlineprotected |
Sets the root level effect ParamDlg.
This method may be called by derived classes that want to handle the effect ParamDlg creation themselves, instead of using one of the "paramdlg" creation methods of class ClassDesc2.
[in] | dlg | - The new main effect dialog pointer |
|
inlineprotected |
fileReset | This parameter is not used. |
Reimplemented from ClassDesc.
Reimplemented in MSPluginDesc.
|
inlineoverridevirtual |
i | The zero based index of the parameter block2 descriptor to return. |
Reimplemented from ClassDesc.
|
overridevirtual |
id | The permanent ID for the parameter block. |
Reimplemented from ClassDesc.
PB2Export ParamBlockDesc2 * GetParamBlockDescByName | ( | const MCHAR * | name | ) |
name | The internal name of the parameter block descriptor. |
|
overridevirtual |
pbd | Points to the parameter block2 descriptor of the parameter block2 to add. |
Reimplemented from ClassDesc.
|
overridevirtual |
ip | The interface pointer passed to the plug-in. |
obj | Points to the plug-in class calling this method. |
flags | The flags passed along to the plug-in in Animatable::BeginEditParams(). |
prev | The pointer passed to the plug-in in Animatable::BeginEditParams(). |
Reimplemented from ClassDesc.
|
overridevirtual |
ip | The interface pointer passed to the plug-in. |
obj | Points to the plug-in class calling this method. |
flags | The flags passed along to the plug-in in Animatable::EndEditParams(). |
prev | The pointer passed to the plug-in in Animatable::EndEditParams(). |
Reimplemented from ClassDesc.
|
overridevirtual |
pbd | Points to the parameter block descriptor for the rollup. |
Reimplemented from ClassDesc.
PB2Export void InvalidateUI | ( | ParamBlockDesc2 * | pbd, |
ParamID | id, | ||
int | tabIndex = -1 |
||
) |
pbd | Points to the parameter block descriptor for the rollup. |
id | The permanent parameter ID of the parameter. |
tabIndex | If the parameter is a Tab<> then this is the zero based index into the table. The default value of -1 indicates it is not a table. |
|
overridevirtual |
owner | Points to the plug-in class calling this method. |
Reimplemented from ClassDesc.
|
inlineoverridevirtual |
i | Points to the parameter block descriptor2 associated with this parameter map. |
Reimplemented from ClassDesc.
PB2Export IParamMap2 * GetParamMap | ( | ParamBlockDesc2 * | pbd, |
MapID | map_id = 0 |
||
) |
pbd | Points to the parameter block descriptor2 associated with this parameter map. |
map_id | This parameter specifies the ID of the map/rollout to get. |
PB2Export bool SetUserDlgProc | ( | ParamBlockDesc2 * | pbd, |
MapID | map_id, | ||
ParamMap2UserDlgProc * | proc = nullptr |
||
) |
|
inlineoverridevirtual |
pbd | Points to the parameter block descriptor for the parameter map. |
proc | Points to the class derived from ParamMap2UserDlgProc which handles the controls. |
Reimplemented from ClassDesc.
PB2Export ParamMap2UserDlgProc * GetUserDlgProc | ( | ParamBlockDesc2 * | pbd, |
MapID | map_id = 0 |
||
) |
pbd | Points to the parameter block descriptor for the parameter map. |
map_id | Specifies the ID of the map/rollout to get the user dialog proc for. |
PB2Export IAutoMParamDlg * CreateParamDlgs | ( | HWND | hwMtlEdit, |
IMtlParams * | imp, | ||
ReferenceTarget * | obj | ||
) |
hwMtlEdit | The window handle of the materials editor. |
imp | The interface pointer provided for calling methods in 3ds Max. |
obj | Points to the plug-in class calling this method. |
PB2Export IAutoMParamDlg * CreateParamDlg | ( | BlockID | id, |
HWND | hwMtlEdit, | ||
IMtlParams * | imp, | ||
ReferenceTarget * | obj, | ||
MapID | mapID = 0 |
||
) |
id | The permanent ID of the parameter block. |
hwMtlEdit | The window handle of the materials editor. |
imp | The interface pointer provided for calling methods in 3ds Max. |
obj | Points to the plug-in class calling this method. |
mapID | Specifies the ID of the map/rollout in the parameter block to create AutoMParamDlg for. |
PB2Export IAutoEParamDlg * CreateParamDialogs | ( | IRendParams * | ip, |
SpecialFX * | obj | ||
) |
PB2Export IAutoRendererParamDlg * CreateParamDialogs | ( | IRendParams * | ip, |
Renderer & | renderer | ||
) |
Creates the automatically-managed parameter dialogs defined with the P_AUTO_UI or P_AUTO_UI_QT flags in the parameter block descriptors.
This method should generally be called from Renderer::CreateParamDialog().
ip | The interface passed to Renderer::CreateParamDialog(). |
renderer | The renderer for which the dialogs are being created. |
PB2Export IAutoRendererParamDlg * CreateParamDialog | ( | BlockID | id, |
IRendParams * | ip, | ||
Renderer & | renderer, | ||
MapID | mapID | ||
) |
Creates the automatically-managed parameter dialog for the given parameter block and parameter map only.
PB2Export IAutoEParamDlg * CreateParamDialog | ( | BlockID | id, |
IRendParams * | ip, | ||
SpecialFX * | obj, | ||
MapID | mapID = 0 |
||
) |
PB2Export void MainDlgDeleted | ( | IAutoMParamDlg * | dlg | ) |
dlg | Pointer to the object which handles the automatic processing of the user interface in the materials editor. |
PB2Export void MainDlgDeleted | ( | IAutoEParamDlg * | dlg | ) |
dlg | Pointer to the object which handles the automatic processing of the user interface in the rendering effects dialog. |
PB2Export void MainDlgDeleted | ( | IAutoRendererParamDlg & | dlg | ) |
Used internally.
Called by the implementation of IAutoRendererParamDlg to un-register itself with the class descriptor.
|
inline |
|
inline |
PB2Export ParamID LastNotifyParamID | ( | ReferenceMaker * | owner, |
IParamBlock2 *& | pb | ||
) |
owner | The owner of the parameter blocks. |
pb | The parameter block which made the most recent notification. |
PB2Export void Reset | ( | ReferenceMaker * | owner, |
BOOL | updateUI = TRUE , |
||
BOOL | callSetHandlers = TRUE |
||
) |
owner | The owner of this ClassDesc2. |
updateUI | If TRUE to user interface is updated. If FALSE it's not. |
callSetHandlers | TRUE to call PBAccessor::Set() for all the parameters; otherwise FALSE. |
PB2Export void GetValidity | ( | ReferenceMaker * | owner, |
TimeValue | t, | ||
Interval & | valid | ||
) |
owner | The owner of this ClassDesc2. |
t | The time about which to compute the interval. |
valid | The validity interval to update. The intersection of the provided "valid" interval with the interval for the provided TimeValue and returned as the updated interval value. |
PB2Export void RemoveParamBlockDesc | ( | ParamBlockDesc2 * | pbd | ) |
pbd | A pointer to the parameter block descriptor to remove. |
|
inlinevirtual |
Creates a Qt widget to be associated with the given parameter map ID.
This method should be implemented by the plugin developer in the class descriptor of their plugin. It should instantiate and return a class that inherits from QMaxParamBlockWidget, and that encapsulates a user interface object. The user interface object should be created using a tool like Qt Designer, and it should correspond to the parameter map that is passed in. For a complete example of how to use this method in a plugin, see 'Creating a Qt-based plug-in' in the 3ds Max Developer Guide.
Note that this method and the one below are identical, except that this one lacks the tabID parameter. You should only override the one below if you want to add a Qt widget to the Render Settings dialog. Otherwise, you should override this one.
owner | The owner of the dialog. This will normally be the owner of the parameter block, but in the case of P_CLASS_PARAMS, where the parameter block doesn't have an owner, this will be the object for which the dialog is being displayed. | |
paramBlock | The parameter block to which the parameter map belongs to. This parameter block must specify the P_AUTO_UI_QT flag, and it must not declare any UI properties using the p_ui flag. | |
paramMapID | The ID of the parameter map, as specified in the parameter block descriptor. | |
[out] | rollupTitle | Output parameter used to specify the title to be displayed in the rollup's header. |
[out] | rollupFlags | Output parameter used to specify flags such as APPENDROLL_CLOSED. |
[out] | rollupCategory | Output parameter used to specify the order in which rollups are positioned with values such as ROLLUP_CAT_STANDARD. |
|
inlinevirtual |
Creates a Qt widget that is connected to the given parameter block.
This method should be implemented by the plugin developer in the class descriptor of their plugin. It should instantiate and return a class that inherits from QMaxParamBlockWidget, and that encapsulates a user interface object. The user interface object should be created using a tool like Qt Designer, and it should correspond to the parameter map that is passed in. For a complete example of how to use this method in a plugin, see 'Creating a Qt-based plug-in' in the 3ds Max Developer Guide.
Note that this method and the one below are identical, except that this one lacks the tabID parameter. You should only override the one below if you want to add a Qt widget to the Render Settings dialog. Otherwise, you should override this one.
owner | The owner of the dialog. This will normally be the owner of the parameter block, but in the case of P_CLASS_PARAMS, where the parameter block doesn't have an owner, this will be the object for which the dialog is being displayed. | |
paramBlock | The parameter block to which the parameter map belongs to. This parameter block must specify the P_AUTO_UI_QT flag, and it must not declare any UI properties using the p_ui flag. | |
paramMapID | The ID of the parameter map, as specified in the parameter block descriptor. | |
[out] | rollupTitle | Output parameter used to specify the title to be displayed in the rollup's header. |
[out] | rollupFlags | Output parameter used to specify flags such as APPENDROLL_CLOSED. |
[out] | rollupCategory | Output parameter used to specify the order in which rollups are positioned with values such as ROLLUP_CAT_STANDARD. |
You should only override this method if you want to add a Qt widget to the Render Settings dialog. Otherwise, you should override CreateQtWidget(ReferenceMaker& owner, IParamBlock2& paramBlock, const MapID paramMapID, MSTR&
rollupTitle, int& rollupFlags, int& rollupCategory).
[out] | tabID | Output parameter used to specify the Render Settings dialog tab in which the Qt widget is to be added. To add a Qt widget as a new tab to the Render Settings dialog, assign a unique Class ID to this parameter before returning. To obtain a unique Class ID, run the 3ds Max Class ID generator program, gencid.exe, which is located in your \maxsdk\help\ directory. |