现在的位置: 首页 > 综合 > 正文

pv3d 与 dae交互

2014年01月17日 ⁄ 综合 ⁄ 共 287字 ⁄ 字号 评论关闭

 在dae加载FileLoadEvent.LOAD_COMPLETE后,先用getMaterialByName(‘’)设置interactive为true,

由于dae加载进来后,其实外面还包了几层容器。可以用dae.childrenList来查看一下。然后dae.getChildByName.getChildByName.addEventListener(InteractiveScene3DEvent.OBJECT_CLICK , handle);

 

website: http://www.sandy1219.com/flash/pv3d_2/testPeople.html 

抱歉!评论已关闭.