Function and Macros for Use with Materials
CombineMaterials()- This function combines the two specified materials into a multi-material. This function combines the two specified materials into a multi-material. Either of the two input materials can themselves be multi materials.IsMtl()- Used to determine if theMtlBasepointer passed is a material.IsTex()- Used to determine if theMtlBasepointer passed is a texture:Intens()- Returns the intensity of a colorGetNewDefaultUVGen()- Return a default instance of aUVGenclass.GetNewDefaultXYZGen()- Return a default instance of aUVGenclass.GetNewDefaultTextureOutput()- Return a default instance of aTextureOutputclass.
Note the following typedef's used with materials and textures:
typedef MtlBase* MtlBaseHandle;
typedef Mtl* MtlHandle;
typedef Texmap* TexmapHandle;
