[Papervision3D] mouse hand cursor, useOwnContainer and viewportLayers - what am I doing wrong?
Caudwell
caudwell at richinterface.co.uk
Thu Apr 30 04:15:17 PDT 2009
Hello,
I'm trying to conditionally show a hand cursor over selected DO3D objects.
Each object has useOwnContainer = true
After reading Andy Zupko's ViewportLayer code I thought the following would
work:
do3D.container.buttonMode = true;
but it doesn't. I wondered if it might be to do with the viewport layer
being generated after each render, so I tried:
layer:ViewportLayer = viewport.getChildLayer(do3d, true);
layer.buttonMode = true;
still no joy - though I did notice that after this code the container
property of do3D was always non-null (since sometimes the code I'm using to
do this will run before the object has first rendered)
Can anyone see anything wrong with this / point me to any other way of
controlling the hand cursor?
p.s. Also, is there any way to re-purpose the Quad Tree sorting and apply it
to viewport layers, rather than the objects inside a viewport layer?
--
View this message in context: http://www.nabble.com/mouse-hand-cursor%2C-useOwnContainer-and-viewportLayers---what-am-I-doing-wrong--tp23314149p23314149.html
Sent from the Papervision3D mailing list archive at Nabble.com.
More information about the Papervision3D
mailing list