Scripting Behaviors
Contents List
Set Script Property as Animation Property
Set Script Property as Animation Property
Binds an Animation to a declared Animation property inside a script's table. The 'PropertyName' has to match the Animation property name in the script and 'Animation' sets the actual Animation value. This Behavior as well as the script need to be placed on the same node. Multiple instances of this Behavior on a node can handle the respective amount of script Animation properties.
Common Properties
| Property Name | Type | Description |
|---|---|---|
| PropertyName | FeatStd::String | The name of the property in the script. |
| Animation | SharedPointer<Candera::Animation::AnimationPlayer> | The animation that should be set as the value of the script animation property. |