Show raw api
{
"functions": [
{
"name": "new",
"desc": "",
"params": [
{
"name": "parent",
"desc": "",
"lua_type": "Instance"
}
],
"returns": [
{
"desc": "",
"lua_type": "GuiTriangle"
}
],
"function_type": "static",
"source": {
"line": 17,
"path": "src/guitriangle/src/Client/GuiTriangle.lua"
}
},
{
"name": "SetParent",
"desc": "",
"params": [
{
"name": "parent",
"desc": "",
"lua_type": "Instance"
}
],
"returns": [],
"function_type": "method",
"source": {
"line": 37,
"path": "src/guitriangle/src/Client/GuiTriangle.lua"
}
},
{
"name": "Show",
"desc": "Shows the triangle",
"params": [],
"returns": [],
"function_type": "method",
"source": {
"line": 45,
"path": "src/guitriangle/src/Client/GuiTriangle.lua"
}
},
{
"name": "Set",
"desc": "Sets the points to render",
"params": [
{
"name": "a",
"desc": "",
"lua_type": "Vector2"
},
{
"name": "b",
"desc": "",
"lua_type": "Vector2"
},
{
"name": "c",
"desc": "",
"lua_type": "Vector2"
}
],
"returns": [
{
"desc": "self",
"lua_type": "GuiTriangle"
}
],
"function_type": "method",
"source": {
"line": 57,
"path": "src/guitriangle/src/Client/GuiTriangle.lua"
}
},
{
"name": "Hide",
"desc": "Hides the triangle",
"params": [],
"returns": [],
"function_type": "method",
"source": {
"line": 68,
"path": "src/guitriangle/src/Client/GuiTriangle.lua"
}
},
{
"name": "SetA",
"desc": "Sets the point",
"params": [
{
"name": "a",
"desc": "",
"lua_type": "Vector2"
}
],
"returns": [
{
"desc": "self",
"lua_type": "GuiTriangle"
}
],
"function_type": "method",
"source": {
"line": 88,
"path": "src/guitriangle/src/Client/GuiTriangle.lua"
}
},
{
"name": "SetB",
"desc": "Sets the point",
"params": [
{
"name": "b",
"desc": "",
"lua_type": "Vector2"
}
],
"returns": [
{
"desc": "self",
"lua_type": "GuiTriangle"
}
],
"function_type": "method",
"source": {
"line": 99,
"path": "src/guitriangle/src/Client/GuiTriangle.lua"
}
},
{
"name": "SetC",
"desc": "Sets the point",
"params": [
{
"name": "c",
"desc": "",
"lua_type": "Vector2"
}
],
"returns": [
{
"desc": "self",
"lua_type": "GuiTriangle"
}
],
"function_type": "method",
"source": {
"line": 110,
"path": "src/guitriangle/src/Client/GuiTriangle.lua"
}
},
{
"name": "UpdateRender",
"desc": "Updates the render of the triangle.",
"params": [],
"returns": [],
"function_type": "method",
"source": {
"line": 119,
"path": "src/guitriangle/src/Client/GuiTriangle.lua"
}
},
{
"name": "Destroy",
"desc": "Cleans up the triangle.",
"params": [],
"returns": [],
"function_type": "method",
"source": {
"line": 172,
"path": "src/guitriangle/src/Client/GuiTriangle.lua"
}
}
],
"properties": [],
"types": [],
"name": "GuiTriangle",
"desc": "2D Gui triangle rendering class.\nSee: http://wiki.roblox.com/index.php?title=2D_triangles",
"source": {
"line": 7,
"path": "src/guitriangle/src/Client/GuiTriangle.lua"
}
}