GradTex Class Reference
 
 
 
GradTex Class Reference

This reference page is linked to from the following overview topics: Standard Materials and Textures.


#include <stdmat.h>

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

Class Description

See also:
Class MultiTex, Class TextureOutput.

Description:
This class provides access to the 3ds Max Gradient texture. All methods of this class are implemented by the system.

Public Member Functions

virtual StdUVGen GetUVGen ()=0
virtual TextureOutput GetTexout ()=0
virtual void  SetMidPoint (float m, TimeValue t=0)

Member Function Documentation

virtual StdUVGen* GetUVGen ( ) [pure virtual]
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.
virtual TextureOutput* GetTexout ( ) [pure virtual]
Remarks:
Retrieves a pointer to the TextureOutput for this texture. This allows access to the RGB level and output and the output amount.
virtual void SetMidPoint ( float  m,
TimeValue  t = 0 
) [inline, virtual]
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.