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": 103,
"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": 171,
"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": 208,
"path": "src/FastCast2/BaseCast.luau"
}
},
{
"name": "Blockcast",
"desc": "Create a Blockcast.",
"params": [
{
"name": "Origin",
"desc": "The origin of the raycast.",
"lua_type": "Vector3"
},
{
"name": "Size",
"desc": "The size of the blockcast.",
"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"
}
],
"returns": [],
"function_type": "method",
"source": {
"line": 226,
"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": 264,
"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": 285,
"path": "src/FastCast2/BaseCast.luau"
}
},
{
"name": "Destroy",
"desc": "Destroys the BaseCast instance and cleans up resources.",
"params": [],
"returns": [],
"function_type": "method",
"source": {
"line": 310,
"path": "src/FastCast2/BaseCast.luau"
}
}
],
"properties": [],
"types": [],
"name": "BaseCast",
"desc": "Base class for all Raycast operations.",
"private": true,
"source": {
"line": 28,
"path": "src/FastCast2/BaseCast.luau"
}
}