14 #ifndef OSG_LIGHTSOURCE
15 #define OSG_LIGHTSOURCE 1
17 #include <osg/NodeVisitor>
35 _light(dynamic_cast<
osg::
Light*>(copyop(ls._light.get()))),
36 _referenceFrame(ls._referenceFrame) {}
57 void setReferenceFrame(ReferenceFrame rf);
62 void setLight(
Light* light);
77 virtual void setThreadSafeRefUnref(
bool threadSafe);
ReferenceFrame getReferenceFrame() const
#define META_Node(library, name)
ReferenceFrame _referenceFrame
LightSource(const LightSource &ls, const CopyOp ©op=CopyOp::SHALLOW_COPY)
StateAttribute::GLModeValue _value
const Light * getLight() const