Show raw api
{
"functions": [
{
"name": "new",
"desc": "Constructs a new QFrame",
"params": [
{
"name": "x",
"desc": "",
"lua_type": "number?"
},
{
"name": "y",
"desc": "",
"lua_type": "number?"
},
{
"name": "z",
"desc": "",
"lua_type": "number?"
},
{
"name": "W",
"desc": "",
"lua_type": "number?"
},
{
"name": "X",
"desc": "",
"lua_type": "number?"
},
{
"name": "Y",
"desc": "",
"lua_type": "number?"
},
{
"name": "Z",
"desc": "",
"lua_type": "number?"
}
],
"returns": [
{
"desc": "",
"lua_type": "QFrame"
}
],
"function_type": "static",
"source": {
"line": 21,
"path": "src/qframe/src/Shared/QFrame.lua"
}
},
{
"name": "isQFrame",
"desc": "Returns whether a value is a QFrame",
"params": [
{
"name": "value",
"desc": "",
"lua_type": "any"
}
],
"returns": [
{
"desc": "",
"lua_type": "boolean"
}
],
"function_type": "static",
"source": {
"line": 39,
"path": "src/qframe/src/Shared/QFrame.lua"
}
},
{
"name": "fromCFrameClosestTo",
"desc": "Gets the QFrame closest to that CFrame",
"params": [
{
"name": "cframe",
"desc": "",
"lua_type": "CFrame"
},
{
"name": "closestTo",
"desc": "",
"lua_type": "QFrame"
}
],
"returns": [
{
"desc": "",
"lua_type": "QFrame"
}
],
"function_type": "static",
"source": {
"line": 49,
"path": "src/qframe/src/Shared/QFrame.lua"
}
},
{
"name": "fromVector3",
"desc": "Constructs a QFrame from a position and another QFrame rotation.",
"params": [
{
"name": "vector",
"desc": "",
"lua_type": "Vector3"
},
{
"name": "qFrame",
"desc": "",
"lua_type": "QFrame"
}
],
"returns": [
{
"desc": "",
"lua_type": "QFrame"
}
],
"function_type": "static",
"source": {
"line": 74,
"path": "src/qframe/src/Shared/QFrame.lua"
}
},
{
"name": "toCFrame",
"desc": "Converts the QFrame to a [CFrame]",
"params": [
{
"name": "self",
"desc": "",
"lua_type": "QFrame"
}
],
"returns": [
{
"desc": "",
"lua_type": "CFrame"
}
],
"function_type": "static",
"source": {
"line": 86,
"path": "src/qframe/src/Shared/QFrame.lua"
}
},
{
"name": "toPosition",
"desc": "Converts the QFrame to a [Vector3] position",
"params": [
{
"name": "self",
"desc": "",
"lua_type": "QFrame"
}
],
"returns": [
{
"desc": "",
"lua_type": "Vector3"
}
],
"function_type": "static",
"source": {
"line": 100,
"path": "src/qframe/src/Shared/QFrame.lua"
}
},
{
"name": "isNAN",
"desc": "Returns true if the QFrame contains a NaN value.",
"params": [
{
"name": "a",
"desc": "",
"lua_type": "QFrame"
}
],
"returns": [
{
"desc": "",
"lua_type": "boolean"
}
],
"function_type": "static",
"source": {
"line": 109,
"path": "src/qframe/src/Shared/QFrame.lua"
}
},
{
"name": "__unm",
"desc": "Inverts the QFrame",
"params": [
{
"name": "a",
"desc": "",
"lua_type": "QFrame"
}
],
"returns": [
{
"desc": "",
"lua_type": "QFrame"
}
],
"function_type": "static",
"source": {
"line": 119,
"path": "src/qframe/src/Shared/QFrame.lua"
}
},
{
"name": "__add",
"desc": "Adds the QFrames together",
"params": [
{
"name": "a",
"desc": "",
"lua_type": "QFrame"
},
{
"name": "b",
"desc": "",
"lua_type": "QFrame"
}
],
"returns": [
{
"desc": "",
"lua_type": "QFrame"
}
],
"function_type": "static",
"source": {
"line": 129,
"path": "src/qframe/src/Shared/QFrame.lua"
}
},
{
"name": "__sub",
"desc": "Subtracts the QFrames together",
"params": [
{
"name": "a",
"desc": "",
"lua_type": "QFrame"
},
{
"name": "b",
"desc": "",
"lua_type": "QFrame"
}
],
"returns": [
{
"desc": "",
"lua_type": "QFrame"
}
],
"function_type": "static",
"source": {
"line": 142,
"path": "src/qframe/src/Shared/QFrame.lua"
}
},
{
"name": "__pow",
"desc": "Takes the QFrame to the power, using quaternion power formula.",
"params": [
{
"name": "a",
"desc": "",
"lua_type": "QFrame"
},
{
"name": "b",
"desc": "",
"lua_type": "number"
}
],
"returns": [
{
"desc": "",
"lua_type": "QFrame"
}
],
"function_type": "static",
"source": {
"line": 155,
"path": "src/qframe/src/Shared/QFrame.lua"
}
},
{
"name": "__mul",
"desc": "Multiplies the QFrames together",
"params": [
{
"name": "a",
"desc": "",
"lua_type": "QFrame | number"
},
{
"name": "b",
"desc": "",
"lua_type": "QFrame | number"
}
],
"returns": [
{
"desc": "",
"lua_type": "QFrame"
}
],
"function_type": "static",
"source": {
"line": 208,
"path": "src/qframe/src/Shared/QFrame.lua"
}
},
{
"name": "__div",
"desc": "Divides the QFrame by the number",
"params": [
{
"name": "a",
"desc": "",
"lua_type": "QFrame"
},
{
"name": "b",
"desc": "",
"lua_type": "number"
}
],
"returns": [
{
"desc": "",
"lua_type": "QFrame"
}
],
"function_type": "static",
"source": {
"line": 238,
"path": "src/qframe/src/Shared/QFrame.lua"
}
},
{
"name": "__eq",
"desc": "Compares the QFrame for equality.",
"params": [
{
"name": "a",
"desc": "",
"lua_type": "QFrame"
},
{
"name": "b",
"desc": "",
"lua_type": "QFrame"
}
],
"returns": [
{
"desc": "",
"lua_type": "boolean"
}
],
"function_type": "static",
"source": {
"line": 252,
"path": "src/qframe/src/Shared/QFrame.lua"
}
}
],
"properties": [],
"types": [],
"name": "QFrame",
"desc": "CFrame representation as a quaternion. Alternative representation of a [CFrame].",
"source": {
"line": 5,
"path": "src/qframe/src/Shared/QFrame.lua"
}
}