Kevin Burke
2010-10-07 15:56:43 UTC
Hi,
I'm creating a Papervision3D scene in a document class. I have added an
instance of a PointLight3D object. I'd like to create a class that uses the
light instance in the main document class for its material. What would the
Actionscript be to do this? I can't refer to the light as super.light
because my class is inheriting the Sphere class. parent.light does not work
either (even if I wait for the class to be added to the stage). Thank you!
-Kevin
I'm creating a Papervision3D scene in a document class. I have added an
instance of a PointLight3D object. I'd like to create a class that uses the
light instance in the main document class for its material. What would the
Actionscript be to do this? I can't refer to the light as super.light
because my class is inheriting the Sphere class. parent.light does not work
either (even if I wait for the class to be added to the stage). Thank you!
-Kevin
--
View this message in context: http://papervision3d.758870.n4.nabble.com/Main-PV3D-light-accessible-to-child-objects-tp2967075p2967075.html
Sent from the Papervision3D mailing list archive at Nabble.com.
View this message in context: http://papervision3d.758870.n4.nabble.com/Main-PV3D-light-accessible-to-child-objects-tp2967075p2967075.html
Sent from the Papervision3D mailing list archive at Nabble.com.