texugo
10-12-2008 19:15:15
Hi everyone
I´m in basic tutorial 7 -CEGUI but something goes wrong with the code:
viewport = texture.addViewport(rttCamera)
viewport.setOverlaysEnabled(False)
viewport.setClearEveryFrame(True)
viewport.setBackgroundColour(ogre.ColourValue.Black)
when i run, python says:
viewport.setBackgroundColour(ogre.ColourValue.Black)
Boost.Python.ArgumentError: Python argument types in
Viewport.setBackgroundColour(Viewport, property)
did not match C++ signature:
setBackgroundColour(class Ogre::Viewport {lvalue}, class Ogre::ColourValue colour)
Some idea?
thanks
I´m in basic tutorial 7 -CEGUI but something goes wrong with the code:
viewport = texture.addViewport(rttCamera)
viewport.setOverlaysEnabled(False)
viewport.setClearEveryFrame(True)
viewport.setBackgroundColour(ogre.ColourValue.Black)
when i run, python says:
viewport.setBackgroundColour(ogre.ColourValue.Black)
Boost.Python.ArgumentError: Python argument types in
Viewport.setBackgroundColour(Viewport, property)
did not match C++ signature:
setBackgroundColour(class Ogre::Viewport {lvalue}, class Ogre::ColourValue colour)
Some idea?
thanks