Show raw api
{
"functions": [
{
"name": "new",
"desc": "Timed transition module",
"params": [
{
"name": "transitionTime",
"desc": "Optional",
"lua_type": "number?"
}
],
"returns": [
{
"desc": "",
"lua_type": "TimedTween"
}
],
"function_type": "static",
"source": {
"line": 29,
"path": "src/timedtween/src/Shared/TimedTween.lua"
}
},
{
"name": "SetTransitionTime",
"desc": "Sets the transition time",
"params": [
{
"name": "transitionTime",
"desc": "",
"lua_type": "number | Observable<number>"
}
],
"returns": [
{
"desc": "",
"lua_type": "MaidTask"
}
],
"function_type": "method",
"source": {
"line": 62,
"path": "src/timedtween/src/Shared/TimedTween.lua"
}
},
{
"name": "GetTransitionTime",
"desc": "Gets the transition time",
"params": [],
"returns": [
{
"desc": "",
"lua_type": "number"
}
],
"function_type": "method",
"source": {
"line": 71,
"path": "src/timedtween/src/Shared/TimedTween.lua"
}
},
{
"name": "ObserveTransitionTime",
"desc": "Observes the transition time",
"params": [],
"returns": [
{
"desc": "",
"lua_type": "Observable<number>"
}
],
"function_type": "method",
"source": {
"line": 80,
"path": "src/timedtween/src/Shared/TimedTween.lua"
}
},
{
"name": "ObserveRenderStepped",
"desc": "Observes how far into the transition we are, from 0 to 1",
"params": [],
"returns": [
{
"desc": "",
"lua_type": "Observable<number>"
}
],
"function_type": "method",
"source": {
"line": 89,
"path": "src/timedtween/src/Shared/TimedTween.lua"
}
},
{
"name": "ObserveOnSignal",
"desc": "Observes the transition on a specific signal",
"params": [
{
"name": "signal",
"desc": "",
"lua_type": "Signal"
}
],
"returns": [
{
"desc": "",
"lua_type": "Observable<number>"
}
],
"function_type": "method",
"source": {
"line": 99,
"path": "src/timedtween/src/Shared/TimedTween.lua"
}
},
{
"name": "Observe",
"desc": "Observes the transition",
"params": [],
"returns": [
{
"desc": "",
"lua_type": "Observable<number>"
}
],
"function_type": "method",
"source": {
"line": 122,
"path": "src/timedtween/src/Shared/TimedTween.lua"
}
},
{
"name": "PromiseFinished",
"desc": "Promises when the tween is finished",
"params": [],
"returns": [
{
"desc": "",
"lua_type": "Promise"
}
],
"function_type": "method",
"source": {
"line": 131,
"path": "src/timedtween/src/Shared/TimedTween.lua"
}
}
],
"properties": [],
"types": [],
"name": "TimedTween",
"desc": "Tween that is a specific time, useful for countdowns and other things",
"source": {
"line": 6,
"path": "src/timedtween/src/Shared/TimedTween.lua"
}
}