Hi  Alessandro

I needed to get hold of the UIView created by OSG just the other day,
although at the mo I do it thought the ui window it creates.

    //get the
    osgViewer::GraphicsWindowIOS* window =
dynamic_cast<osgViewer::GraphicsWindowIOS*>(_viewer->GetContext().get());
    if(window){

        UIView* view = [[window->getWindow() subviews] objectAtIndex:0];

    }

Not sure if you can solve your problem with it but it's a start. Perhaps in
the future we could change the windowData to except a UIView instead, as
most of the functionality we use on the window is actually implemented by
UIView.

Cheers
Tom
_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to