【发布时间】:2017-10-31 07:22:03
【问题描述】:
在 Three.js 中我可以使用:
myObject.geometry.vertices[i].y += 12;
但在 A-Frame 中,console.log 中甚至都看不到任何内容。 我已经看到 0.2.0 和 0.3.0 之间的一切 默认为缓冲几何图形和顶点被隐藏。 覆盖它是可能的,但现在在 0.5.0 甚至没有 几何数组列在 console.log 中。
console.log(myObject.geoetry); //now returns 'undefined'.
console.log(myObject); //returns the markup only, no array!?
目前有没有办法处理单个顶点来改变它们的位置?
【问题讨论】:
标签: javascript three.js aframe cad webvr