1. 19 2月, 2015 1 次提交
  2. 18 2月, 2015 1 次提交
  3. 17 2月, 2015 1 次提交
  4. 25 1月, 2015 1 次提交
  5. 22 1月, 2015 1 次提交
  6. 01 1月, 2015 1 次提交
  7. 22 12月, 2014 1 次提交
  8. 20 12月, 2014 2 次提交
  9. 02 12月, 2014 1 次提交
  10. 01 12月, 2014 1 次提交
    • W
      Generalizing search/get methods in Object3D · 66598e68
      Wilt 提交于
      I often end up adding custom properties to my `THREE.Object3D` objects but it is hard to use my custom parameters to find objects. Right now there are two specific methods to find objects by a property. `getObjectById` and `getObjectByName`. My suggestion is to add a less specific getObjectByProperty method with as first param the `propertyName` or 'name' and second param `propertyValue` or 'value'. We are able to reuse this new method in `getObjectById` and `getObjectByName`. This ends up in less code with more flexibility.
      
      An additional suggestion would be to add a get method to find by `uuid` like this:
      
      `````
      getObjectByUuid: function ( uuid, recursive ) {
      
          return this.getObjectByProperty( 'uuid', uuid, recursive );
      
      },
      
      `````
      
      I hope you guys also see advantages in this change.
      66598e68
  11. 28 11月, 2014 1 次提交
  12. 20 11月, 2014 4 次提交
  13. 23 10月, 2014 1 次提交
  14. 11 10月, 2014 1 次提交
  15. 10 10月, 2014 2 次提交
  16. 08 10月, 2014 2 次提交
  17. 27 9月, 2014 1 次提交
  18. 09 9月, 2014 1 次提交
  19. 08 9月, 2014 2 次提交
  20. 06 9月, 2014 1 次提交
  21. 21 8月, 2014 1 次提交
  22. 19 8月, 2014 1 次提交
  23. 18 8月, 2014 1 次提交
  24. 24 7月, 2014 1 次提交
  25. 23 7月, 2014 2 次提交
  26. 19 7月, 2014 1 次提交
  27. 16 7月, 2014 1 次提交
  28. 30 6月, 2014 2 次提交
  29. 25 6月, 2014 1 次提交
  30. 24 6月, 2014 1 次提交
  31. 15 6月, 2014 1 次提交