Compare commits

..

No commits in common. "1d42fdff0c0d718a182e3db4ac92bbd4b6017bc5" and "a828a079cb070e3ffb31182af04abf03ed86f09a" have entirely different histories.

1 changed files with 115 additions and 223 deletions

338
api.json
View File

@ -1,8 +1,8 @@
{ {
"os": "OSX", "os": "OSX",
"arch": "x64", "arch": "x64",
"version": "0.21.0", "version": "0.20.13",
"generatedAt": "24/05/2020 00:46:08", "generatedAt": "10/05/2020 22:07:37",
"sandbox": { "sandbox": {
"coroutine": { "coroutine": {
"status": "function", "status": "function",
@ -20,10 +20,10 @@
"xpcall": "function", "xpcall": "function",
"_DEVICE_PAD_BOTTOM": 0, "_DEVICE_PAD_BOTTOM": 0,
"ipairs": "function", "ipairs": "function",
"_TEV_BUILD": "0210", "_TEV_BUILD": "02013",
"colour": "cdata", "colour": "cdata",
"print": "function", "print": "function",
"_TEV_VERSION_MINOR": 21, "_TEV_VERSION_MINOR": 20,
"pcall": "function", "pcall": "function",
"gcinfo": "function", "gcinfo": "function",
"loadstring": "function", "loadstring": "function",
@ -45,13 +45,11 @@
"insert": "function" "insert": "function"
}, },
"error": "function", "error": "function",
"_TEV_VERSION": "0.21.0", "_TEV_VERSION": "0.20.13",
"quaternion": "cdata",
"_DEVICE": "Mac", "_DEVICE": "Mac",
"require": "function", "require": "function",
"unpack": "function",
"_VERSION": "Lua 5.1", "_VERSION": "Lua 5.1",
"_TEV_VERSION_PATCH": 0, "_TEV_VERSION_PATCH": 13,
"next": "function", "next": "function",
"math": { "math": {
"ceil": "function", "ceil": "function",
@ -85,6 +83,7 @@
"randomseed": "function", "randomseed": "function",
"rad": "function" "rad": "function"
}, },
"unpack": "function",
"os": { "os": {
"difftime": "function", "difftime": "function",
"date": "function", "date": "function",
@ -92,7 +91,6 @@
"clock": "function", "clock": "function",
"parseISO8601": "function" "parseISO8601": "function"
}, },
"vector3": "cdata",
"vector2": "cdata", "vector2": "cdata",
"select": "function", "select": "function",
"string": { "string": {
@ -421,18 +419,6 @@
"boolean" "boolean"
], ],
"description": "Returns true if the provided key is down" "description": "Returns true if the provided key is down"
},
"isMouseButtonDown": {
"parameters": [
{
"type": "number",
"name": "code"
}
],
"returns": [
"boolean"
],
"description": "Returns true if the provided button is down, where code is 1, 2 or 3"
} }
}, },
"className": "input", "className": "input",
@ -662,39 +648,6 @@
} }
} }
}, },
"sceneObject": {
"methods": [],
"className": "sceneObject",
"events": [],
"constructable": false,
"extends": "objectBase",
"properties": {
"absolutePosition": {
"hasGetter": true,
"type": "vector3",
"description": "",
"hasSetter": false
},
"rotation": {
"hasGetter": true,
"type": "quaternion",
"description": "",
"hasSetter": true
},
"position": {
"hasGetter": true,
"type": "vector3",
"description": "",
"hasSetter": true
},
"absoluteRotation": {
"hasGetter": true,
"type": "quaternion",
"description": "",
"hasSetter": false
}
}
},
"guiBase": { "guiBase": {
"methods": { "methods": {
"child": { "child": {
@ -713,6 +666,11 @@
"parameters": [], "parameters": [],
"returns": [], "returns": [],
"description": "Destroys all children" "description": "Destroys all children"
},
"destroy": {
"parameters": [],
"returns": [],
"description": "Destroys this object, further accessing this instance will error"
} }
}, },
"className": "guiBase", "className": "guiBase",
@ -1085,13 +1043,7 @@
} }
}, },
"objectBase": { "objectBase": {
"methods": { "methods": [],
"destroy": {
"parameters": [],
"returns": [],
"description": "Destroys this object, further accessing this instance will error"
}
},
"className": "objectBase", "className": "objectBase",
"events": [], "events": [],
"constructable": false, "constructable": false,
@ -1202,51 +1154,6 @@
"constructable": false, "constructable": false,
"properties": [] "properties": []
}, },
"guiRichTextBox": {
"methods": {
"removeColour": {
"parameters": [
{
"type": "int",
"name": "index"
}
],
"returns": [],
"description": "Removes any set colour at the index provided"
},
"setColour": {
"parameters": [
{
"type": "int",
"name": "index"
},
{
"type": "colour",
"name": "colour"
}
],
"returns": [],
"description": "Sets the colour of text onwards from the provided index"
},
"clearColours": {
"parameters": [],
"returns": [],
"description": "Removes any set colours at all indexes"
}
},
"className": "guiRichTextBox",
"events": [],
"constructable": true,
"extends": "guiTextBox",
"properties": {
"colours": {
"hasGetter": true,
"type": "table",
"description": "Returns a table of {index, colour} (e.g: {{1, colour(1,0,0)}, {3, colour(0,1,0)}})",
"hasSetter": false
}
}
},
"guiLine": { "guiLine": {
"methods": [], "methods": [],
"className": "guiLine", "className": "guiLine",
@ -1292,66 +1199,6 @@
} }
} }
}, },
"tween": {
"methods": {
"begin": {
"parameters": [
{
"type": "variant",
"name": "object"
},
{
"type": "number",
"name": "duration"
},
{
"type": "table",
"name": "properties"
},
{
"type": "string",
"name": "easing"
},
{
"type": "function?",
"name": "tweenCallback"
}
],
"returns": [],
"description": "Creates and starts a tween"
},
"create": {
"parameters": [
{
"type": "variant",
"name": "object"
},
{
"type": "number",
"name": "duration"
},
{
"type": "table",
"name": "properties"
},
{
"type": "string",
"name": "easing"
},
{
"type": "function?",
"name": "tweenCallback"
}
],
"returns": [],
"description": "Creates a tween"
}
},
"className": "tween",
"events": [],
"constructable": false,
"properties": []
},
"guiFrame": { "guiFrame": {
"methods": [], "methods": [],
"className": "guiFrame", "className": "guiFrame",
@ -1478,39 +1325,47 @@
} }
} }
}, },
"scene": { "guiRichTextBox": {
"methods": { "methods": {
"child": { "removeColour": {
"parameters": [ "parameters": [
{ {
"type": "string", "type": "int",
"name": "name" "name": "index"
} }
], ],
"returns": [ "returns": [],
"sceneObject" "description": "Removes any set colour at the index provided"
],
"description": "Returns nil if not found"
}, },
"destroyChildren": { "setColour": {
"parameters": [
{
"type": "int",
"name": "index"
},
{
"type": "colour",
"name": "colour"
}
],
"returns": [],
"description": "Sets the colour of text onwards from the provided index"
},
"clearColours": {
"parameters": [], "parameters": [],
"returns": [], "returns": [],
"description": "Destroys all children" "description": "Removes any set colours at all indexes"
} }
}, },
"className": "scene", "className": "guiRichTextBox",
"events": [], "events": [],
"constructable": false, "constructable": true,
"extends": "guiTextBox",
"properties": { "properties": {
"camera": { "colours": {
"hasGetter": true,
"type": "Undocumented",
"hasSetter": false
},
"children": {
"hasGetter": true, "hasGetter": true,
"type": "table", "type": "table",
"description": "", "description": "Returns a table of {index, colour} (e.g: {{1, colour(1,0,0)}, {3, colour(0,1,0)}})",
"hasSetter": false "hasSetter": false
} }
} }
@ -1790,52 +1645,42 @@
} }
} }
}, },
"light": { "scene": {
"methods": [], "methods": [],
"className": "light", "className": "scene",
"events": [], "events": [],
"constructable": false, "constructable": false,
"extends": "sceneObject",
"properties": { "properties": {
"colour": { "size": {
"hasGetter": true, "hasGetter": true,
"type": "colour", "type": "Undocumented",
"description": "",
"hasSetter": true "hasSetter": true
} }
} }
}, },
"block": { "block": {
"methods": [], "methods": {
"setShader": {
"parameters": [
{
"type": "string",
"name": "mesh"
}
],
"returns": [],
"description": "Sets mesh"
}
},
"className": "block", "className": "block",
"events": [], "events": [],
"constructable": true, "constructable": true,
"extends": "sceneObject",
"properties": { "properties": {
"roughness": { "position": {
"hasGetter": true,
"type": "number",
"description": "",
"hasSetter": true
},
"scale": {
"hasGetter": true, "hasGetter": true,
"type": "vector3", "type": "vector3",
"description": "", "description": "",
"hasSetter": true "hasSetter": true
}, },
"colour": {
"hasGetter": true,
"type": "colour",
"description": "",
"hasSetter": true
},
"metalness": {
"hasGetter": true,
"type": "number",
"description": "",
"hasSetter": true
},
"mesh": { "mesh": {
"hasGetter": true, "hasGetter": true,
"type": "string", "type": "string",
@ -1898,21 +1743,68 @@
"constructable": false, "constructable": false,
"properties": [] "properties": []
}, },
"directionalLight": { "tween": {
"methods": [], "methods": {
"className": "directionalLight", "begin": {
"parameters": [
{
"type": "variant",
"name": "object"
},
{
"type": "number",
"name": "duration"
},
{
"type": "table",
"name": "properties"
},
{
"type": "string",
"name": "easing"
},
{
"type": "function?",
"name": "tweenCallback"
}
],
"returns": [],
"description": "Creates and starts a tween"
},
"create": {
"parameters": [
{
"type": "variant",
"name": "object"
},
{
"type": "number",
"name": "duration"
},
{
"type": "table",
"name": "properties"
},
{
"type": "string",
"name": "easing"
},
{
"type": "function?",
"name": "tweenCallback"
}
],
"returns": [],
"description": "Creates a tween"
}
},
"className": "tween",
"events": [], "events": [],
"constructable": true, "constructable": false,
"extends": "light",
"properties": [] "properties": []
}, },
"dev": { "dev": {
"methods": { "methods": {
"reloadAllShaders": {
"parameters": [],
"returns": [],
"description": "Reloads all shaders."
},
"promptTevGit": { "promptTevGit": {
"parameters": [], "parameters": [],
"returns": [], "returns": [],
@ -2010,5 +1902,5 @@
"properties": [] "properties": []
} }
}, },
"build": "0210" "build": "02013"
} }