MultiTex Class Reference
 
 
 
MultiTex Class Reference

This reference page is linked to from the following overview topics: Material and Texture Map Plug-ins, Standard Materials and Textures.


#include <stdmat.h>

Inheritance diagram for MultiTex:
Texmap MtlBase ReferenceTarget ISubMap ReferenceMaker MaxHeapOperators Animatable InterfaceServer Noncopyable MaxHeapOperators MaxHeapOperators GradTex

Class Description

See also:
Class Texmap, Class Color, Working with Materials and Textures.

Description:
This class provides access to the developer settable properties of the 3ds Max multi-textures such as Composite, Tint and Mix. All methods of this class are implemented by the system.

Public Member Functions

virtual void  SetNumSubTexmaps (int n)
virtual void  SetColor (int i, Color c, TimeValue t=0)

Member Function Documentation

virtual void SetNumSubTexmaps ( int  n ) [inline, virtual]
Remarks:
Sets the number of sub-texmaps for this texmap.
Parameters:
int n

The number of sub-texmaps.
{}
virtual void SetColor ( int  i,
Color  c,
TimeValue  t = 0 
) [inline, virtual]
Remarks:
Sets the color of the 'i-th' sub-texmap to the specified color at the time passed.
Parameters:
int i

The index of the sub-texmap to set.

Color c

The color to set.

TimeValue t=0

The time at which to set the color.
{}