21 lines
397 B
C++
21 lines
397 B
C++
|
|
|
|
|
|
#include <osgDB/ObjectWrapper>
|
|
#include <osgDB/InputStream>
|
|
#include <osgDB/OutputStream>
|
|
|
|
#include <osg/ScriptEngine>
|
|
|
|
REGISTER_OBJECT_WRAPPER( Script,
|
|
new osg::Script,
|
|
osg::Script,
|
|
"osg::Object osg::Script" )
|
|
{
|
|
ADD_STRING_SERIALIZER( Script, "" ); // _script
|
|
ADD_STRING_SERIALIZER( Language, "" ); // _script
|
|
}
|
|
|
|
|
|
|