- Added `.animate`
- Fixed 49, Using Multiple Versions Simultaneously
Animate
Here's what you can do, to more easily add animation to any plug.
python
node = createNode("transform")
node["tx"] = {1: 0.0, 5: 1.0, 10: 0.0}
node["rx"] = {1: 0.0, 5: 1.0, 10: 0.0}
node["sx"] = {1: 0.0, 5: 1.0, 10: 0.0}
node["v"] = {1: True, 5: False, 10: True}
Alternatively
node["v"].animate({1: False, 5: True, 10: False})
- See 50 for details