Class IEmissionColor

3DS Max Plug-In SDK

Class IEmissionColor

class IEmissionColor : public BaseInterface

 

Description:

This class is only available in release 5 or later.

Function-published class: Material emission color, for self-illuminates meshes in viewport

 

Methods:

Prototype

virtual Interface_IDGetID() { return EMISSION_COLOR_INTERFACE_ID; }

Remarks:

Returns the Function Published interface ID for this interface.

It is #define EMISSION_COLOR_INTERFACE_ID Interface_ID(0x4f803aa8, 0x71611798)

Prototype

virtual LifetimeType LifetimeControl() { return noRelease; }

Remarks:

 

Prototype

virtual void SetColor(Point3 color)=0;

Remarks:

Sets the emission color as Point3.

 

K Prototype

virtual Point3 GetColor()=0;

Remarks:

Returns the emission color as Point3.

K Prototype

virtual void SetAlpha(float alpha)=0;

Remarks:

Sets the alpha color value for the emission in the range of 0.f to 1.f.

K Prototype

virtual float GetAlpha()=0;

Remarks:

Gets the alpha color value for the emission in the range of 0.f to 1.f.