three.js r69,r70ã§ã®ã¯ãªã THREE.lineã ãã®åé¡ã§ã¯ãªãã¨æããlineã®æã«å¼ã£ããã£ãã®ã§ã¡ã¢ ãã®ã®positionãå¤ããã®ã¯NeedUpdateãªã©ããªãã¦ãåé¡ãªãåæ ããããã vertices(é ç¹)座æ¨ãæ´æ°ããã¨ãã«ã¯æ¯ågeometry.verticesNeedUpdate=trueããã¾ããªã㨠ã¢ãã¡ã¼ã·ã§ã³render()ãã¨ã«ãã¨(false)ã«æ»ã£ã¦ãã¾ãããã booleanã ãããªãããã£ã¨updateãã¦ããããããã¨ããã£ã¦ããã©éãã®ã verticesneedupdate - Google æ¤ç´¢ javascript - ThreeJS Dynamic Line Change - Stack Overflow ãã®ä»geometryé¢ä¿ã®ãã©ã¡ã¼ã¿ãå¤ããå ´åã«ã¯æ¯å対å¿ããneedupdateãtrueã«ãã¦ãããªãã¨
{{#tags}}- {{label}}
{{/tags}}