Class MultiTex

3DS Max Plug-In SDK

Class MultiTex

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

class MultiTex : public Texmap

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.

Methods:

Prototype:

virtual void SetNumSubTexmaps(int n);

Remarks:

Sets the number of sub-texmaps for this texmap.

Parameters:

int n

The number of sub-texmaps.

Prototype:

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

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.