Public Member Functions

StdTexoutGen Class Reference

Search for all occurrences

Detailed Description

See also:
Class TextureOutput.

Description:
This class is available in release 3.0 and later only.

This class provides access to the Texture Output object. These are the parameters available in the Output rollup in the Materials Editor for a 2D map.

#include <stdmat.h>

Inheritance diagram for StdTexoutGen:
Inheritance graph
[legend]

List of all members.

Public Member Functions

BOOL  IsStdTexoutGen ()
virtual float  GetOutputLevel (TimeValue t)=0
virtual BOOL  GetInvert ()=0
virtual BOOL  GetClamp ()=0
virtual BOOL  GetAlphaFromRGB ()=0
virtual float  GetRGBAmt (TimeValue t)=0
virtual float  GetRGBOff (TimeValue t)=0
virtual float  GetOutAmt (TimeValue t)=0
virtual float  GetBumpAmt (TimeValue t)=0
virtual BOOL  GetFlag (ULONG f)=0
virtual void  SetOutputLevel (TimeValue t, float v)=0
virtual void  SetInvert (BOOL onoff)=0
virtual void  SetClamp (BOOL onoff)=0
virtual void  SetAlphaFromRGB (BOOL onoff)=0
virtual void  SetRGBAmt (float f, TimeValue t)=0
virtual void  SetRGBOff (float f, TimeValue t)=0
virtual void  SetOutAmt (float f, TimeValue t)=0
virtual void  SetBumpAmt (float f, TimeValue t)=0
virtual void  SetFlag (ULONG f, ULONG val)=0

Member Function Documentation

BOOL IsStdTexoutGen ( ) [inline]
Remarks:
Returns TRUE if this is the standard 3ds Max Texout object; FALSE if it's a 3rd party Texout.
Default Implementation:
{ return TRUE; }
{ return TRUE; }
virtual float GetOutputLevel ( TimeValue  t ) [pure virtual]
Remarks:
Returns the Output Level at the specified time.
Parameters:
TimeValue t

The time at which to return the output level.

Implements TextureOutput.

virtual BOOL GetInvert ( ) [pure virtual]
Remarks:
Returns the Invert on / off state. TRUE is on; FALSE is off.

Implements TextureOutput.

virtual BOOL GetClamp ( ) [pure virtual]
Remarks:
Returns the Clamp on / off state. TRUE is on; FALSE is off.
virtual BOOL GetAlphaFromRGB ( ) [pure virtual]
Remarks:
Returns the Alpha from RGB Intensity on / off state. TRUE is on; FALSE is off.
virtual float GetRGBAmt ( TimeValue  t ) [pure virtual]
Remarks:
Returns the RGB Level at the specified time.
Parameters:
TimeValue t

The time at which to get the value.
virtual float GetRGBOff ( TimeValue  t ) [pure virtual]
Remarks:
Returns the RGB Offset at the specified time.
Parameters:
TimeValue t

The time at which to get the value.
virtual float GetOutAmt ( TimeValue  t ) [pure virtual]
Remarks:
Returns the Output Amount at the specified time.
Parameters:
TimeValue t

The time at which to get the value.
virtual float GetBumpAmt ( TimeValue  t ) [pure virtual]
Remarks:
Returns the Bump Amount at the specified time.
Parameters:
TimeValue t

The time at which to get the value.
virtual BOOL GetFlag ( ULONG  f ) [pure virtual]
Remarks:
Returns TRUE if the specified flag(s) are set; otherwise FALSE. These flags reflect the same setings as the individual methods.
Parameters:
ULONG f

One or more of the following values:

TEXOUT_INVERT

TEXOUT_CLAMP

TEXOUT_ALPHA_RGB

TEXOUT_COLOR_MAP

TEXOUT_COLOR_MAP_RGB
virtual void SetOutputLevel ( TimeValue  t,
float  v 
) [pure virtual]
Remarks:
Sets the Output Amount at the specified time.
Parameters:
TimeValue t

The time at which to set the value.

float v

The value to set.

Implements TextureOutput.

virtual void SetInvert ( BOOL  onoff ) [pure virtual]
Remarks:
Sets the Invert state to on or off.
Parameters:
BOOL onoff

TRUE for on; FALSE for off.

Implements TextureOutput.

virtual void SetClamp ( BOOL  onoff ) [pure virtual]
Remarks:
Sets the Clamp state to on or off.
Parameters:
BOOL onoff

TRUE for on; FALSE for off.
virtual void SetAlphaFromRGB ( BOOL  onoff ) [pure virtual]
Remarks:
Sets the Alpha from RGB Intensity to on or off.
Parameters:
BOOL onoff

TRUE for on; FALSE for off.
virtual void SetRGBAmt ( float  f,
TimeValue  t 
) [pure virtual]
Remarks:
Sets the RGB Level at the specified time.
Parameters:
float f

The value to set.

TimeValue t

The time at which to set the value.
virtual void SetRGBOff ( float  f,
TimeValue  t 
) [pure virtual]
Remarks:
Sets the RGB Offset parameter at the specified time.
Parameters:
float f

The value to set.

TimeValue t

The time at which to set the value.
virtual void SetOutAmt ( float  f,
TimeValue  t 
) [pure virtual]
Remarks:
Sets the Output Amount at the specified time.
Parameters:
float f

The value to set.

TimeValue t

The time at which to set the value.
virtual void SetBumpAmt ( float  f,
TimeValue  t 
) [pure virtual]
Remarks:
Sets the Bump Amount at the specified time.
Parameters:
float f

The value to set.

TimeValue t

The time at which to set the value.
virtual void SetFlag ( ULONG  f,
ULONG  val 
) [pure virtual]
Remarks:
Sets the state of the flags.
Parameters:
ULONG f

One or more of the following values:

TEXOUT_INVERT

TEXOUT_CLAMP

TEXOUT_ALPHA_RGB

TEXOUT_COLOR_MAP

TEXOUT_COLOR_MAP_RGB

ULONG val

Non-zero to set the specified flags; zero to clear the flags.

StdTexoutGen StdTexoutGen StdTexoutGen StdTexoutGen StdTexoutGen StdTexoutGen StdTexoutGen StdTexoutGen StdTexoutGen StdTexoutGen
StdTexoutGen StdTexoutGen StdTexoutGen StdTexoutGen StdTexoutGen StdTexoutGen StdTexoutGen StdTexoutGen StdTexoutGen StdTexoutGen