【问题标题】:how to update geometry vertex position in three.js r58?如何更新three.js r58中的几何顶点位置?
【发布时间】:2013-04-11 17:41:15
【问题描述】:

在 Three.js 的 r56 版本中,这是可行的

geometry.verticesNeedUpdate = true 

新的r58版本不行,怎么办?

【问题讨论】:

    标签: geometry three.js updating vertex


    【解决方案1】:

    migration docs 解释版本之间的 API 变化:

    如果您使用的是 BufferGeometrygeometry.verticesNeedUpdate 已更改为 geometry.attributes.index.needsUpdate

    【讨论】:

      猜你喜欢
      • 2015-10-29
      • 1970-01-01
      • 1970-01-01
      • 2013-12-16
      • 2013-07-13
      • 1970-01-01
      • 1970-01-01
      • 2015-12-02
      • 1970-01-01
      相关资源
      最近更新 更多