[Papervision3D] Detect Mouse Events in a viewport

Sandeep Menon sandeepmenon24 at gmail.com
Wed May 6 01:12:15 PDT 2009


Hi,

I've got the following setup in a papervision application I'm working on.

   - A Viewport3D object, that's added as a child of a
   - UIComponent, that in turn is added as a child to a
   - A custom object, that's derived from a Canvas class

What i want to do is detect any mouse events that happen within the
viewport, not just those that occur over any scene objects.


How would I go about handling this, by adding the listener to the viewport
itself or even the UIcomponent object, rather than dealing with it at the
Canvas-derived object?

Thanks,
sm
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://osflash.org/pipermail/papervision3d_osflash.org/attachments/20090506/21c11565/attachment.html>


More information about the Papervision3D mailing list