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