14 #ifndef OSG_LIGHTMODEL
15 #define OSG_LIGHTMODEL 1
17 #include <osg/StateAttribute>
31 _ambient(lw._ambient),
32 _colorControl(lw._colorControl),
33 _localViewer(lw._localViewer),
34 _twoSided(lw._twoSided) {}
79 virtual void apply(
State& state)
const;
void setColorControl(ColorControl cc)
ColorControl _colorControl
#define COMPARE_StateAttribute_Types(TYPE, rhs_attribute)
ColorControl getColorControl() const
bool getLocalViewer() const
void setAmbientIntensity(const osg::Vec4 &ambient)
void setTwoSided(bool twoSided)
#define META_StateAttribute(library, name, type)
const osg::Vec4 & getAmbientIntensity() const
void setLocalViewer(bool localViewer)
virtual int compare(const StateAttribute &sa) const
#define COMPARE_StateAttribute_Parameter(parameter)
LightModel(const LightModel &lw, const CopyOp ©op=CopyOp::SHALLOW_COPY)