OSG to Panda Conversion

What would be the Panda equivalent of the following code ?

getOrCreateStateSet()->setMode(GL_LIGHTING, osg::StateAttribute::OFF |
osg::StateAttribute::PROTECTED);
osg::BlendFunc * bf = new osg::BlendFunc(osg::BlendFunc::ONE, osg::BlendFunc::ONE);
getStateSet()->setAttribute(bf, osg::StateAttribute::ON);
getStateSet()->setMode(GL_BLEND, osg::StateAttribute::ON | osg::StateAttribute::PROTECTED);
getStateSet()->setRenderingHint(osg::StateSet::TRANSPARENT_BIN);
getStateSet()->setRenderBinDetails(4, “RenderBin”);

At the moment i have:

myNode.setLightOff() myNode.setAttrib(ColorBlendAttrib.make(ColorBlendAttrib.MAdd,ColorBlendAttrib.O_one,ColorBl endAttrib.O_one))
myNode.setBin(“transparent”,4)

Yeah, it looks like you’ve pretty much got it.