Hi
Can someone clarify how to add lights to a scene in Lite?
scene.addChild(light );
throws error
1067: Implicit coercion of a value of type away3dlite.lights:PointLight3D to an unrelated type flash.display:DisplayObject.
Away3D Lite-how to add lights?Software: Away3D Lite |
||
eco_bach, Jr. Member
Posted: 27 September 2011 11:00 PM Total Posts: 35 Hi scene.addChild(light ); throws error 1067: Implicit coercion of a value of type away3dlite.lights:PointLight3D to an unrelated type flash.display:DisplayObject. |