On Thu, Oct 04, 2007 at 08:56:55AM +0100, Robert Osfield wrote: > osgGA knows about core osg wher osg::View is defined, so could this work?
Yes, actually that would work well in this case as it would provide a pointer to an object in the leftmost inheritance branch of osgViewer::Viewer. The output from the wrapped function would be of static type Osg.View and dynamic type OsgViewer.Viewer, so it could be downcasted without a problem. If you're comfortable with that change, please do go ahead and make it. It would definitely be helpful to osgDotNet users as a workaround. -Mike _______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org