![]() |
Lysa
0.0
Lysa 3D Engine
|
Global tween registry and factory; tweens registered here are automatically updated each physics tick.
Lua full name: lysa.Tweens
Public Member Functions | |
| LuaTween | lua (from: number, to: number, duration: number, type: TransitionType, on_update: fun(value:number), on_complete: fun()) |
| Creates a LuaTween, registers it with the engine, and returns it. More... | |
| TweenSequence | sequence (tweens: table, on_complete: fun()) |
| Builds a TweenSequence from a Lua table of LuaTween objects, registers it with the engine, and returns it. More... | |
|
Creates a LuaTween, registers it with the engine, and returns it.
| from | number |
| to | number |
| duration | number |
| type | TransitionType |
| on_update | fun(value:number) |
| on_complete | fun() |
|
Builds a TweenSequence from a Lua table of LuaTween objects, registers it with the engine, and returns it.
| tweens | table |
| on_complete | fun() |