18#ifndef  _SoMaterialExt_H 
   19#define  _SoMaterialExt_H 
   25class SoGLRenderAction;
 
   26class SoCallbackAction;
 
   32   typedef SoMaterial inherited;
 
   37      SoColorPacker *_shadowColorPacker;
 
   58      void GLRender(SoGLRenderAction *action) 
override;
 
   59      void callback(SoCallbackAction *action) 
override;
 
 
#define __MEVIS_IV_END_NAMESPACE
 
#define __MEVIS_IV_BEGIN_NAMESPACE
 
#define SOSHADOW_CLASS_SPEC
Define a class export specifier needed to make the class exportable in dll's.
 
SoMFColor shadowColor
Default is (0.65, 0.62, 0.51)
 
SoSFVec2f shadowOffset
Ignored by default (factor, units); see glPolygonOffset()
 
void doAction(SoAction *action) override
 
void callback(SoCallbackAction *action) override
 
void GLRender(SoGLRenderAction *action) override
 
SoSFEnum overrideRenderPass
Default is (SHADOW)
 
virtual ~SoShadowMaterial()
 
SoSFBool useShadowColor
Default is TRUE (shadow color differs from model color)