Class StdMirror

3DS Max Plug-In SDK

Class StdMirror

See Also: Class Texmap.

class StdMirror : public Texmap

Description:

This class provides access to the 3ds max Flat Mirror material. All methods of this class are implemented by the system.

Methods:

Prototype:

virtual void SetDoNth(BOOL onoff)=0;

Remarks:

This method determines if 'Every Nth Frame' or 'First Frame Only' is used.

Parameters:

BOOL onoff

TRUE for Every Nth Frame; FALSE for First Frame Only.

Prototype:

virtual void SetNth(int n)=0;

Remarks:

This methods controls the 'Nth Frame' value.

Parameters:

int n

The number of frames.

Prototype:

virtual void SetApplyBlur(BOOL onoff)=0;

Remarks:

This method controls the 'Apply Blur' check box setting.

Parameters:

BOOL onoff

TRUE to toggle on; FALSE to toggle off.

Prototype:

virtual void SetBlur(float b, TimeValue t)=0;

Remarks:

Sets the specified blur value at the specified time.

Parameters:

float b

The blur value to set in the range 0.0 to 100.0

TimeValue t

The time at which to set the blur value.

Prototype:

virtual void UseHighDynamicRange(BOOL onoff)=0;

Remarks:

This method is available in release 4.0 and later only.

Sets if the mirror texture uses high dynamic range bitmaps or not. See Working With Bitmaps for details on high dynamic range bitmaps.

Parameters:

BOOL onoff

Pass TRUE for on; FALSE for off.

Prototype:

virtual BOOL GetDoNth()=0;

Remarks:

Determines if 'Every Nth Frame' or 'First Frame Only' is used.

Return Value:

TRUE if Every Nth Frame is in use; FALSE if First Frame Only is in use.

Prototype:

virtual int GetNth()=0;

Remarks:

Returns the Nth Frame setting.

Prototype:

virtual BOOL GetApplyBlur()=0;

Remarks:

Returns TRUE if the Apply Blur check box is on; otherwise FALSE.

Prototype:

virtual float GetBlur(TimeValue t)=0;

Remarks:

Returns the blur setting at the specified time.

Parameters:

TimeValue t

The time to retrieve the blur setting.