Animation Effect: Difference between revisions
From TrainzOnline
Jump to navigationJump to search
m 1 revision |
Builderbob (talk | contribs) Details |
||
| Line 6: | Line 6: | ||
looped 0 | looped 0 | ||
speed 1.0 | speed 1.0 | ||
===Explanations and default values=== | |||
The animation effect is used to define the animation for a mesh. | |||
kind | |||
:Text. The kind name for this effect container. | |||
:Compulsory "animation". | |||
name | |||
:Text. A name for this effect container. This name can be used in scripts. | |||
:Optional. Default "" | |||
anim | |||
:Name. The name of an animation (.kin) file included with this asset | |||
:Compulsory. | |||
looped | |||
:Boolean. 0 (false) = the animation executes once when triggered, then stops. 1 = the animation restarts when it reaches the end. | |||
:Compulsory. | |||
speed | |||
:Value. A multiplier for the execution rate of the animation. | |||
:Compulsory. | |||
[[Category:Config Container]] | [[Category:Config Container]] | ||
Revision as of 02:30, 18 June 2016
The Animation effect kind is a "mesh-table" Container effect container. The following tags are supported:
kind "animation" name "" anim "" looped 0 speed 1.0
Explanations and default values
The animation effect is used to define the animation for a mesh.
kind
- Text. The kind name for this effect container.
- Compulsory "animation".
name
- Text. A name for this effect container. This name can be used in scripts.
- Optional. Default ""
anim
- Name. The name of an animation (.kin) file included with this asset
- Compulsory.
looped
- Boolean. 0 (false) = the animation executes once when triggered, then stops. 1 = the animation restarts when it reaches the end.
- Compulsory.
speed
- Value. A multiplier for the execution rate of the animation.
- Compulsory.