3ds Max C++ API Reference
ExposureMaterialControlImp< T, B > Class Template Reference

This class implements the virtual methods in ExposureMaterialControl. More...

#include <expmtlControl.h>

+ Inheritance diagram for ExposureMaterialControlImp< T, B >:

Public Member Functions

voidGetInterface (ULONG id)
 
BaseInterfaceGetInterface (Interface_ID id)
 
FPInterfaceDescGetDesc ()
 

Detailed Description

template<class T, class B>
class ExposureMaterialControlImp< T, B >

This class implements the virtual methods in ExposureMaterialControl.

Member Function Documentation

◆ GetInterface() [1/2]

void* GetInterface ( ULONG  id)
inline
451 { return B::GetInterface(id); }
CoreExport FPInterface * GetInterface(SClass_ID super, Class_ID cls, Interface_ID id)
Get ID'd interface from ClassDesc for given class/sclass.

◆ GetInterface() [2/2]

BaseInterface* GetInterface ( Interface_ID  id)
inline
453  {
454  if (id == EXPOSURE_MATERIAL_CONTROL)
455  return static_cast<ExposureMaterialControl*>(this);
456  return B::GetInterface(id);
457  }
This is the inteface class to implement in order to support exposure controls.
Definition: expmtlControl.h:184
#define EXPOSURE_MATERIAL_CONTROL
Definition: expmtlControl.h:136

◆ GetDesc()

FPInterfaceDesc* GetDesc ( )
inline
459 { return &T::msExpMtlControlDesc; }