Added s/getLightingMode and s/getLight to osg::View to allow control of the viewers

global light source.
This commit is contained in:
Robert Osfield
2007-05-07 22:07:23 +00:00
parent 6716f0d845
commit 963cd837e3
8 changed files with 123 additions and 6 deletions

View File

@@ -13,6 +13,7 @@
#include <osg/Camera>
#include <osg/CollectOccludersVisitor>
#include <osg/CopyOp>
#include <osg/CullSettings>
#include <osg/DisplaySettings>
#include <osg/FrameStamp>
#include <osg/Light>
@@ -696,6 +697,16 @@ BEGIN_OBJECT_REFLECTOR(osgUtil::SceneView)
__osg_Matrixd__computeRightEyeViewImplementation__C5_osg_Matrixd_R1,
"",
"");
I_Method1(void, inheritCullSettings, IN, const osg::CullSettings &, settings,
Properties::NON_VIRTUAL,
__void__inheritCullSettings__C5_CullSettings_R1,
"Inherit the local cull settings variable from specified CullSettings object, according to the inheritance mask. ",
"");
I_Method2(void, inheritCullSettings, IN, const osg::CullSettings &, settings, IN, unsigned int, inheritanceMask,
Properties::VIRTUAL,
__void__inheritCullSettings__C5_osg_CullSettings_R1__unsigned_int,
"Inherit the local cull settings variable from specified CullSettings object, according to the inheritance mask. ",
"");
I_Method0(void, init,
Properties::VIRTUAL,
__void__init,