Capítulo 294 de 859

Chapter 294: PropertyBinding

Core Idea

This holds a reference to a real property in the scene graph; used internally.

Key Concepts

  • node : Object: The object owns the animated property.
  • parsedPath : Object: An object holding information about the path.
  • path : string: The object path to the animated property.
  • rootNode : Object3D | Skeleton: The root node.

Reference Tables

Constructor

Signature
new PropertyBinding( rootNode : Object, path : string, parsedPath : Object )

Properties

PropertyDescription
.node : ObjectThe object owns the animated property.
.parsedPath : ObjectAn object holding information about the path.
.path : stringThe object path to the animated property.
`.rootNode : Object3DSkeleton`

Methods

MethodDescription
.bind()Creates a getter / setter pair for the property tracked by this binding.
.unbind()Unbinds the property.

Key Takeaways

  1. Most relevant properties: node, parsedPath, path, rootNode.
  2. Key methods: bind, unbind.

Connects To