3ds Max C++ API Reference
IMaterialEvent Class Referenceabstract

You receive a IMaterialEvent instance when something is changed in a Material: Events monitored : all related to materials. More...

#include <NotificationAPI_Events.h>

+ Inheritance diagram for IMaterialEvent:

Public Member Functions

virtual MtlGetMtl (void) const =0
 Retrieve the Mtl*. More...
 
virtual const MaxSDK::Array< ParamBlockData > & GetParamBlockData (void) const =0
 Retrieve all the parameters updated in the parameter blocks in case of EventType_Material_ParamBlock, they are sorted by indices of the parameterblocks in the References of the object. More...
 
- Public Member Functions inherited from IGenericEvent
virtual NotifierType GetNotifierType (void) const =0
 Get the type of notifier: More...
 
virtual size_t GetEventType (void) const =0
 Get the update type. More...
 
virtual void DebugPrintToFile (FILE *f) const =0
 For debugging purpose you may use this to print the event to an existing file stream. More...
 

Protected Member Functions

virtual ~IMaterialEvent ()
 
- Protected Member Functions inherited from IGenericEvent
virtual ~IGenericEvent ()
 

Detailed Description

You receive a IMaterialEvent instance when something is changed in a Material: Events monitored : all related to materials.

Constructor & Destructor Documentation

◆ ~IMaterialEvent()

virtual ~IMaterialEvent ( )
inlineprotectedvirtual
241 {};

Member Function Documentation

◆ GetMtl()

virtual Mtl* GetMtl ( void  ) const
pure virtual

Retrieve the Mtl*.

◆ GetParamBlockData()

virtual const MaxSDK::Array<ParamBlockData>& GetParamBlockData ( void  ) const
pure virtual

Retrieve all the parameters updated in the parameter blocks in case of EventType_Material_ParamBlock, they are sorted by indices of the parameterblocks in the References of the object.