Class GradTex
See Also: Class MultiTex, Class TextureOutput.
class GradTex: public MultiTex
Description:
This class provides access to the 3ds max Gradient texture. All methods of this class are implemented by the system.
Methods:
Prototype:
virtual StdUVGen* GetUVGen()=0;
Remarks:
Retrieves a pointer to the StdUVGen interface for this texture. This allows access to the mapping parameters such as UV offsets, blur, angle, noise level, etc.
Prototype:
virtual TextureOutput* GetTexout()=0;
Remarks:
Retrieves a pointer to the TextureOutput for this texture. This allows access to the RGB level and output and the output amount.
Prototype:
virtual void SetMidPoint(float m, TimeValue t=0);
Remarks:
Sets the 'Color 2 Position' setting at the time passed.
Parameters:
float m
The value to set in the range of 0.0 to 1.0.
TimeValue t=0
The time to set the value.