Class IRadiosityPreferences

3DS Max Plug-In SDK

Class IRadiosityPreferences

See Also: : Class RadiosityEffect

class IRadiosityPreferences : public FPStaticInterface

Description:

This class is only available in release 5 or later.

This class defines the interface for accessing the Advanced Lighting Preferences from the 'Advanced Lighting' tab in the preferences dialog. It also provides access to the use/compute advanced lighting controls found in the Rendering dialog. This is a function-published static interface; you can use GetCOREInterface() to obtain an instance of the class, as follows:

 IRadiosityPreferences* r = static_cast<IRadiosityPreferences*>(GetCOREInterface(IRADIOSITYPREFERENCES_INTERFACE));

This interface is also accessible via MAXScript as “RadiosityPreferences”.

All methods of this class are implemented by the system.

 

Methods:

Prototype:

virtual BOOL GetAutoProcessObjectRefine() const = 0

 

Remarks:

Returns the state of the checkbox “Automatically Process Refine Iterations Stored in Geometric Objects”, in the preferences dialog Advanced Lighting tab

 

 

Prototype:

virtual void SetAutoProcessObjectRefine(BOOL val) = 0

 

Remarks:

Sets the state of the checkbox “Automatically Process Refine Iterations Stored in Geometric Objects”, in the preferences dialog Advanced Lighting tab

 

Parameters:

BOOL val

TRUE for on; FALSE for off.

 

 

Prototype:

virtual BOOL GetDisplayReflectanceInMEditor() const = 0

 

Remarks:

Returns the state of the checkbox “Display Reflectance & Transmittance Information”, in the preferences dialog Advanced Lighting tab

 

 

Prototype:

virtual void SetDisplayReflectanceInMEditor(BOOL val) = 0

 

Remarks:

Sets the state of the checkbox “Display Reflectance & Transmittance Information”, in the preferences dialog Advanced Lighting tab

 

Parameters:

BOOL val

TRUE for on; FALSE for off.

 

 

Prototype:

virtual BOOL GetDisplayInViewport() const = 0

 

Remarks:

Returns the state of the checkbox “Display Radiosity in Viewports”, in the preferences dialog Advanced Lighting tab

 

 

Prototype:

virtual void SetDisplayInViewport(BOOL val) = 0

 

Remarks:

Sets the state of the checkbox “Display Radiosity in Viewports”, in the preferences dialog Advanced Lighting tab

 

Parameters:

BOOL val

TRUE for on; FALSE for off.

 

 

Prototype:

virtual BOOL GetDisplayResetWarning() const = 0

 

Remarks:

Returns the state of the checkbox “Display Reset Warning”, in the preferences dialog Advanced Lighting tab

 

 

Prototype:

virtual void SetDisplayResetWarning(BOOL val) = 0

 

Remarks:

Sets the state of the checkbox “Display Reset Warning”, in the preferences dialog Advanced Lighting tab

 

Parameters:

BOOL val

TRUE for on; FALSE for off.

 

 

Prototype:

virtual BOOL GetDisplayWarningOnGIPropsChange() const = 0

 

Remarks:

Returns the state of the checkbox “Display Undo Warning on Proeprties Change”, in the preferences dialog Advanced Lighting tab

 

 

Prototype:

virtual void SetDisplayWarningOnGIPropsChange(BOOL val) = 0

 

Remarks:

Sets the state of the checkbox “Display Undo Warning on Proeprties Change”, in the preferences dialog Advanced Lighting tab

 

Parameters:

BOOL val

TRUE for on; FALSE for off.

 

 

Prototype:

virtual BOOL GetSaveScene() const = 0

 

Remarks:

Returns the state of the checkbox “Save Scene Information in MAX File”, in the preferences dialog Advanced Lighting tab

 

 

Prototype:

virtual void SetSaveScene(BOOL val) = 0

 

Remarks:

Sets the state of the checkbox “Save Scene Information in MAX File”, in the preferences dialog Advanced Lighting tab

 

Parameters:

BOOL val

TRUE for on; FALSE for off.

 

 

 

Prototype:

virtual BOOL GetUseRadiosity() const = 0

 

Remarks:

Returns the state of the “Use Advanced Lighting” checkbox in the render dialog

 

 

Prototype:

virtual void SetUseRadiosity(BOOL val) = 0

 

Remarks:

Sets the state of the “Use Advanced Lighting” checkbox in the render dialog

 

Parameters:

BOOL val

TRUE for on; FALSE for off.

 

 

 

Prototype:

virtual BOOL GetComputeRadiosity() const = 0

 

Remarks:

Returns the state of the “Compute Advanced Lighting when Required” checkbox in the render dialog

 

 

Prototype:

virtual void SetComputeRadiosity(BOOL val) = 0

 

Remarks:

Sets the state of the “Compute Advanced Lighting when Required” checkbox in the render dialog

 

Parameters:

BOOL val

TRUE for on; FALSE for off.