PropertyBinding.html 2.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="utf-8" />
  5. <base href="../../../" />
  6. <script src="page.js"></script>
  7. <link type="text/css" rel="stylesheet" href="page.css" />
  8. </head>
  9. <body>
  10. <h1>[name]</h1>
  11. <p class="desc">
  12. This holds a reference to a real property in the scene graph; used
  13. internally.
  14. </p>
  15. <h2>Constructor</h2>
  16. <h3>[name]( [param:Object3D rootNode], path, parsedPath )</h3>
  17. <p>-- [page:Object3D rootNode]: -- path -- parsedPath (optional)</p>
  18. <h2>Properties</h2>
  19. <h3>[property:Number path]</h3>
  20. <h3>[property:Number parsedPath]</h3>
  21. <h3>[property:Number node]</h3>
  22. <h3>[property:Number rootNode]</h3>
  23. <h3>[property:Object BindingType]</h3>
  24. <h3>[property:Object Versioning]</h3>
  25. <h3>[property:Array GetterByBindingType]</h3>
  26. <h3>[property:Array SetterByBindingTypeAndVersioning]</h3>
  27. <h2>Methods</h2>
  28. <h3>[method:undefined getValue]( [param:Array targetArray], [param:Number offset] )</h3>
  29. <h3>[method:undefined setValue]( [param:Array sourceArray], [param:Number offset] )</h3>
  30. <h3>[method:undefined bind]( )</h3>
  31. <p>
  32. Create getter / setter pair for a property in the scene graph. Used
  33. internally by [page:PropertyBinding.getValue getValue] and
  34. [page:PropertyBinding.setValue setValue].
  35. </p>
  36. <h3>[method:undefined unbind]( )</h3>
  37. <p>Unbind getter / setter pair for a property in the scene graph.</p>
  38. <h3>[method:Constructor Composite]( targetGroup, path, optionalParsedPath )</h3>
  39. <p>Create a new Composite PropertyBinding.</p>
  40. <h3>[method:Constructor create]( root, path, parsedPath )</h3>
  41. <p>
  42. Create a new Composite PropertyBinding (if root is an
  43. [page:AnimationObjectGroup]) or PropertyBinding.
  44. </p>
  45. <h3>[method:Constructor parseTrackName]( trackName )</h3>
  46. <p>
  47. Matches strings in the following forms:<br />
  48. -- nodeName.property<br />
  49. -- nodeName.property[accessor]<br />
  50. -- nodeName.material.property[accessor]<br />
  51. -- uuid.property[accessor]<br />
  52. -- uuid.objectName[objectIndex].propertyName[propertyIndex]<br />
  53. -- parentName/nodeName.property<br />
  54. -- parentName/parentName/nodeName.property[index]<br />
  55. -- .bone[Armature.DEF_cog].position<br />
  56. -- scene:helium_balloon_model:helium_balloon_model.position
  57. </p>
  58. <h3>[method:Constructor findNode]( root, nodeName )</h3>
  59. <p>Find a node in a node tree or [page:Skeleton Skeleton].</p>
  60. <h2>Source</h2>
  61. <p>
  62. [link:https://github.com/mrdoob/three.js/blob/master/src/[path].js src/[path].js]
  63. </p>
  64. </body>
  65. </html>