<AnimateScale>
Animates an object's scale value.
Attributes
| Attribute | Description |
| from | Initial value |
| to | Target value |
| interval | Length of animation |
| offset | Offset of animation |
| mode | Animation mode |
| reverse | Reversing animation? |
| preview | Preview in editor? |
mode [string]
Sets the animation mode. Determines how the animated value is calculated. Default is "linear"
| Value | Mode |
| "linear" | Linear interpolation |
| "curve" | Sine curve |
| "sqrt" | Square root |
| "squared" | Squared |
Example:
mode = "curve"
reverse [bool]
When set to true, the animation will "bounce back" and play backwards during the second half of the animation.
Example:
reverse = "true"
preview [bool]
When set to true, this trait will animate in the Novelty editor. Default is false.
Example:
preview = "true"
Example
<Traits>
<AnimateScale interval="2" from="1" to="2" mode="curve"/>
</Traits>
