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 theMtlBase
pointer passed is a material.IsTex()
- Used to determine if theMtlBase
pointer passed is a texture:Intens()
- Returns the intensity of a colorGetNewDefaultUVGen()
- Return a default instance of aUVGen
class.GetNewDefaultXYZGen()
- Return a default instance of aUVGen
class.GetNewDefaultTextureOutput()
- Return a default instance of aTextureOutput
class.
Note the following typedef's used with materials and textures:
typedef MtlBase* MtlBaseHandle;
typedef Mtl* MtlHandle;
typedef Texmap* TexmapHandle;