Class INodeLayerProperties

3DS Max Plug-In SDK

Class INodeLayerProperties

class INodeLayerProperties : public FPMixinInterface

 

Description:

This class is only available in release 5 or later.

 

This class defines an interface for accessing a node's global illumination properties.

 

An instance of this interface can be retrieved using the following line of code (assuming 'node' is of type INode*):

 

static_cast<INodeGIProperties*>(node->GetInterface(NODELAYERPROPERTIES_INTERFACE))

#define NODELAYERPROPERTIES_INTERFACE Interface_ID(0x44e025f8, 0x6b071e44)

 

// Provides access to the nodes layer and bylayer bits

public:

virtual ILayerProperties* getLayer (void) = 0; 

virtual void setLayer (FPInterface *) = 0; 

 

virtual BOOL getDisplayByLayer () = 0; 

virtual void setDisplayByLayer (BOOL) = 0; 

virtual BOOL getRenderByLayer () = 0; 

virtual void setRenderByLayer (BOOL) = 0; 

virtual BOOL getMotionByLayer () = 0; 

virtual void setMotionByLayer (BOOL) = 0; 

virtual BOOL getColorByLayer () = 0; 

virtual void setColorByLayer (BOOL) = 0; 

virtual BOOL getGlobalIlluminationByLayer () = 0; 

virtual void setGlobalIlluminationByLayer (BOOL) = 0; 

};