3ds Max C++ API Reference
MaterialConversionHelper.h File Reference
#include "GraphicsExport.h"
#include "BaseMaterialHandle.h"
#include "../Materials/Mtl.h"
#include "../maxTypes.h"

Namespaces

 MaxSDK
 
 MaxSDK::Graphics
 
 MaxSDK::Graphics::MaterialConversionHelper
 MaterialConversionHelper is a class to convert from a 3ds Max material (Mtl class) into a Viewport material (BaseMaterialHandle class) This viewport material can be assigned with :
 

Functions

MaxGraphicsObjectAPI BaseMaterialHandle ConvertMaxToNitrousMaterial (Mtl &mtl, TimeValue t, bool bRealisticMode)
 Convert a 3ds Max Mtl into a viewport BaseMaterialHandle. More...
 
MaxGraphicsObjectAPI bool GetNitrousMaterialFromPhysicalMaterialPreset (BaseMaterialHandle &outBaseMaterialHandle, const MSTR &presetName, TimeValue t, bool bRealisticMode)
 Create a viewport BaseMaterialHandle from a Physical material preset. More...