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
450 { 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
452  {
453  if (id == EXPOSURE_MATERIAL_CONTROL)
454  return static_cast<ExposureMaterialControl*>(this);
455  return B::GetInterface(id);
456  }
This is the inteface class to implement in order to support exposure controls.
Definition: expmtlControl.h:183
#define EXPOSURE_MATERIAL_CONTROL
Definition: expmtlControl.h:135

◆ GetDesc()

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