AdjustWeight (Function): Difference between revisions
From Goodblox Wiki
Jump to navigationJump to search
(created the page) |
mNo edit summary |
||
| (One intermediate revision by the same user not shown) | |||
| Line 1: | Line 1: | ||
{{CatUp|Functions}} | {{CatUp|Functions}} | ||
<onlyinclude>{{Function| | <onlyinclude>{{Function| | ||
name = AdjustWeight | name = AdjustWeight | ||
| Line 8: | Line 7: | ||
|object = [[GBX.lua.AnimationTrack (Object)|AnimationTrack]] | |object = [[GBX.lua.AnimationTrack (Object)|AnimationTrack]] | ||
}}</onlyinclude> | }}</onlyinclude> | ||
[[Category:Functions]] | |||
Latest revision as of 20:37, 23 September 2021
| Function | |
|---|---|
| Syntax | AdjustWeight( Float weight = 1, Float fadeTime = 0.100000001 ) |
| Returns | n/a |
| Description: | Changes the weight of an animation, with the optional fadeTime parameter determining how long it takes for the current weight to reach the new weight. |
| In Object: | AnimationTrack |