3ds Max C++ API Reference
ParamBlockData Struct Reference

Is a data structure for parameter blocks updates, used with events such as : EventType_Material_ParamBlock, EventType_Node_ParamBlock, ... All related to paramblocks updates. More...

#include <NotificationAPI_Events.h>

Classes

struct  ContainerTypeAndIndex
 Is a data structure for parameter blocks container information Retrieve the parameter block that was updated in the references or custom attributes or whatever of the Object* from the INode* or Mtl* or Texmap* etc... More...
 

Public Types

enum  ParameterBlockContainerType { UNKNOWN_CONTAINER_TYPE = 0 , REFERENCES , CUSTOM_ATTRIBUTES , SHADER }
 
enum  ParameterBlockType { UNKNOWN_PB_TYPE = 0 , PB_ONE , PB_TWO }
 
ParameterBlockContainerType

Is the container type of the paramblock

ParameterBlockType

Public Attributes

ParameterBlockType m_ParamBlockType
 Retrieve the parameter block type (can be IParamBlock or IParamBlock2 or..) More...
 
MaxSDK::Array< ContainerTypeAndIndexm_ParamBlockIndexPath
 Retrieve the parameter block containers path. More...
 
MaxSDK::Array< intm_ParametersIDsUpdatedInThatParamBlock
 Retrieve all the parameters updated in the parameter block. More...
 
MaxSDK::Array< MSTRm_ParametersNames
 Retrieve all the parameters names that were updated in the parameter block (whereever they come from references/custom attributes etc.) More...
 

Detailed Description

Is a data structure for parameter blocks updates, used with events such as : EventType_Material_ParamBlock, EventType_Node_ParamBlock, ... All related to paramblocks updates.

Member Enumeration Documentation

◆ ParameterBlockContainerType

Enumerator
UNKNOWN_CONTAINER_TYPE 

Unknown is an error.

REFERENCES 

means the paramblock data comes from the References of the ReferenceTarget

CUSTOM_ATTRIBUTES 

means the paramblock data comes from the Custom attributes of the ReferenceTarget

SHADER 

means the paramblock data comes from a Shader* being part of the ReferenceTarget

166  {
172  REFERENCES,
174  SHADER,
176  };
@ UNKNOWN_CONTAINER_TYPE
Unknown is an error.
Definition: NotificationAPI_Events.h:171
@ REFERENCES
means the paramblock data comes from the References of the ReferenceTarget
Definition: NotificationAPI_Events.h:172
@ CUSTOM_ATTRIBUTES
means the paramblock data comes from the Custom attributes of the ReferenceTarget
Definition: NotificationAPI_Events.h:173
@ SHADER
means the paramblock data comes from a Shader* being part of the ReferenceTarget
Definition: NotificationAPI_Events.h:174

◆ ParameterBlockType

Enumerator
UNKNOWN_PB_TYPE 

Unknown is an error.

PB_ONE 

means we are dealing with a paramblock 1

PB_TWO 

means we are dealing with a paramblock 2

178  {
182  UNKNOWN_PB_TYPE = 0,
183  PB_ONE,
184  PB_TWO,
186  };
@ PB_ONE
means we are dealing with a paramblock 1
Definition: NotificationAPI_Events.h:183
@ PB_TWO
means we are dealing with a paramblock 2
Definition: NotificationAPI_Events.h:184
@ UNKNOWN_PB_TYPE
Unknown is an error.
Definition: NotificationAPI_Events.h:182

Member Data Documentation

◆ m_ParamBlockType

ParameterBlockType m_ParamBlockType

Retrieve the parameter block type (can be IParamBlock or IParamBlock2 or..)

◆ m_ParamBlockIndexPath

MaxSDK::Array<ContainerTypeAndIndex> m_ParamBlockIndexPath

Retrieve the parameter block containers path.

◆ m_ParametersIDsUpdatedInThatParamBlock

MaxSDK::Array<int> m_ParametersIDsUpdatedInThatParamBlock

Retrieve all the parameters updated in the parameter block.

◆ m_ParametersNames

MaxSDK::Array<MSTR> m_ParametersNames

Retrieve all the parameters names that were updated in the parameter block (whereever they come from references/custom attributes etc.)