Version: 
Back to list

Scene :: linkPropertyToAnimation

Synopsis

   Creates a Binder in an Animation stack to animate an entity's property

GUI Dialog

   

Script function

   scene.linkPropertyToAnimation(animation, entity, propertyName) -> mainChannel

Parameters

   animation (Animation) : The Animation stack where to put a animated property
   entity (Entity) : The entity object to animate
   propertyName (String) : The name of the property to animate

Return value

   mainChannel (AnimChannel) : The main channel of the binder