Class ParamBlockPLCB

3DS Max Plug-In SDK

Class ParamBlockPLCB

See Also: Class ParamVersionDesc.

Description:

This is a handy post load call back for fixing up parameter blocks. This will look up the version of the loaded callback and fix it up so it matches the current version. NOTE: this deletes itself when its done. See Parameter Maps for more details.

Methods:

Prototype:

ParamBlockPLCB(ParamVersionDesc *v,int cnt,ParamVersionDesc *c,ReferenceTarget *t,int refNum);

Remarks:

Constructor.

Parameters:

ParamVersionDesc *v

This is an array of ParamVersionDescs.

int cnt

This is the number of elements in the array specified above.

ParamVersionDesc *c

This is a pointer to the current version of the ParamVersionDesc.

ReferenceTarget *t

This is a pointer to a reference target. This is usually the this pointer of the object.

int refNum

This is the reference index of the parameter block.

See Also: Advanced Topics section under Parameter Maps for an explanation of how this is used.