Show raw api
{
"functions": [
{
"name": "Init",
"desc": "To initialize a new BaseCast instance.",
"params": [
{
"name": "BindableOutput",
"desc": "The BindableEvent used for outputting events.",
"lua_type": "BindableEvent"
},
{
"name": "Data",
"desc": "Configuration data for the BaseCast.",
"lua_type": "any"
}
],
"returns": [
{
"desc": "The initialized BaseCast instance.",
"lua_type": "BaseCast"
}
],
"function_type": "static",
"source": {
"line": 99,
"path": "src/FastCast2/BaseCast.luau"
}
},
{
"name": "Raycast",
"desc": "Create a raycast.",
"params": [
{
"name": "Origin",
"desc": "The origin of the raycast.",
"lua_type": "Vector3"
},
{
"name": "Direction",
"desc": "The direction of the raycast.",
"lua_type": "Vector3"
},
{
"name": "Velocity",
"desc": "The velocity of the raycast.",
"lua_type": "Vector3 | number"
},
{
"name": "Behavior",
"desc": "The behavior data for the raycast.",
"lua_type": "FastCastBehavior"
},
{
"name": "GUID",
"desc": "The unique identifier for the raycast.",
"lua_type": "string"
}
],
"returns": [],
"function_type": "method",
"source": {
"line": 166,
"path": "src/FastCast2/BaseCast.luau"
}
},
{
"name": "SetFastCastEventsModule",
"desc": "",
"params": [
{
"name": "moduleScript",
"desc": "The FastCastEventsModule to set.",
"lua_type": "ModuleScript"
}
],
"returns": [],
"function_type": "method",
"source": {
"line": 204,
"path": "src/FastCast2/BaseCast.luau"
}
},
{
"name": "Blockcast",
"desc": "Create a Blockcast.",
"params": [
{
"name": "Origin",
"desc": "The origin of the blockcast.",
"lua_type": "Vector3"
},
{
"name": "Size",
"desc": "The size of the blockcast.",
"lua_type": "Vector3"
},
{
"name": "Direction",
"desc": "The direction of the blockcast.",
"lua_type": "Vector3"
},
{
"name": "Velocity",
"desc": "The velocity of the blockcast.",
"lua_type": "Vector3 | number"
},
{
"name": "Behavior",
"desc": "The behavior data for the blockcast.",
"lua_type": "FastCastBehavior"
}
],
"returns": [],
"function_type": "method",
"source": {
"line": 230,
"path": "src/FastCast2/BaseCast.luau"
}
},
{
"name": "Spherecast",
"desc": "Create a Spherecast.",
"params": [
{
"name": "Origin",
"desc": "The origin of the spherecast.",
"lua_type": "Vector3"
},
{
"name": "Radius",
"desc": "The radius of the spherecast.",
"lua_type": "number"
},
{
"name": "Direction",
"desc": "The direction of the spherecast.",
"lua_type": "Vector3"
},
{
"name": "Velocity",
"desc": "The velocity of the spherecast.",
"lua_type": "Vector3 | number"
},
{
"name": "Behavior",
"desc": "The behavior data for the spherecast.",
"lua_type": "FastCastBehavior"
}
],
"returns": [],
"function_type": "method",
"source": {
"line": 274,
"path": "src/FastCast2/BaseCast.luau"
}
},
{
"name": "BindBulkMoveTo",
"desc": "Enables or disables the BulkMoveTo feature.",
"params": [
{
"name": "bool",
"desc": "Whether to enable or disable BulkMoveTo.",
"lua_type": "boolean"
}
],
"returns": [],
"function_type": "method",
"source": {
"line": 314,
"path": "src/FastCast2/BaseCast.luau"
}
},
{
"name": "BindObjectCache",
"desc": "Enables or disables the ObjectCache feature.",
"params": [
{
"name": "bool",
"desc": "Whether to enable or disable ObjectCache.",
"lua_type": "boolean"
}
],
"returns": [],
"function_type": "method",
"source": {
"line": 337,
"path": "src/FastCast2/BaseCast.luau"
}
},
{
"name": "Destroy",
"desc": "Destroys the BaseCast instance and cleans up resources.",
"params": [],
"returns": [],
"function_type": "method",
"source": {
"line": 362,
"path": "src/FastCast2/BaseCast.luau"
}
}
],
"properties": [],
"types": [],
"name": "BaseCast",
"desc": "Base class for all Raycast operations.",
"private": true,
"source": {
"line": 32,
"path": "src/FastCast2/BaseCast.luau"
}
}