Method Groups for Class Mtl

The methods in this class are grouped below.

(Links go to the Mtl Class Reference page.)

Naming Methods
Mtl::GetSubMtlSlotName(int i)
Mtl::GetSubMtlTVName(int i)
Shade
Mtl::Shade(ShadeContext& sc)=0
Get/SetActiveTexmap
Mtl::GetActiveTexmap()
Mtl::SetActiveTexmap(MtlBase *txm)
Get Properties Methods
The following methods are used for displaying materials in the 3ds Max viewports.
Mtl::GetAmbient(int mtlNum=0, BOOL backFace=FALSE)=0
Mtl::GetDiffuse(int mtlNum=0, BOOL backFace=FALSE)=0
Mtl::GetSpecular(int mtlNum=0, BOOL backFace=FALSE)=0
Mtl::GetShininess(int mtlNum=0, BOOL backFace=FALSE)=0
Mtl::GetShinStr(int mtlNum=0, BOOL backFace=FALSE)=0
Mtl::GetXParency(int mtlNum=0, BOOL backFace=FALSE)=0
Mtl::GetSelfIllum(int mtlNum=0, BOOL backFace=FALSE)
Mtl::GetSelfIllumColorOn(int mtlNum=0, BOOL backFace=FALSE)
Mtl::GetSelfIllumColor(int mtlNum=0, BOOL backFace=FALSE)
Mtl::WireSize(int mtlNum=0, BOOL backFace=FALSE)
Mtl::GetPixelSampler(int mtlNum=0, BOOL backFace=FALSE)
Mtl::GetRenderData()
Mtl::IsOutputConst(ShadeContext& sc, int stdID)
Mtl::EvalColorStdChannel(ShadeContext& sc, int stdID, Color& outClr)
Set Properties Methods
Mtl::SetAmbient(Color c, TimeValue t)=0
Mtl::SetDiffuse(Color c, TimeValue t)=0
Mtl::SetSpecular(Color c, TimeValue t)=0
Mtl::SetShininess(float v, TimeValue t)=0
Mtl::SetRenderData(RenderData *rdata)
Sub-material Access Methods
Mtl::NumSubMtls()
Mtl::GetSubMtl(int i)
Mtl::SetSubMtl(int i, Mtl *m)
Mtl::VPDisplaySubMtl()
Dynamic Properties Methods
Mtl::GetDynamicsProperty(TimeValue t, int mtlNum, int propID)
Mtl::SetDynamicsProperty(TimeValue t, int mtlNum, int propID, float value)
Displacement Mapping
Mtl::EvalDisplacement(ShadeContext& sc)
Mtl::DisplacementValidity(TimeValue t)
Replace Material Dialog
Mtl::DontKeepOldMtl()
Mtl::SupportsShaders()