Show raw api
{
"functions": [
{
"name": "Impulse",
"desc": "Applies an impulse to the camera, shaking it!",
"params": [
{
"name": "velocity",
"desc": "",
"lua_type": "Vector3"
},
{
"name": "speed",
"desc": "Optional",
"lua_type": "number"
},
{
"name": "damper",
"desc": "Optional",
"lua_type": "number"
}
],
"returns": [],
"function_type": "method",
"source": {
"line": 38,
"path": "src/camera/src/Client/Effects/ImpulseCamera.lua"
}
},
{
"name": "ImpulseRandom",
"desc": "Applies a random impulse",
"params": [
{
"name": "velocity",
"desc": "",
"lua_type": "Vector3"
},
{
"name": "speed",
"desc": "Optional",
"lua_type": "number"
},
{
"name": "damper",
"desc": "Optional",
"lua_type": "number"
}
],
"returns": [],
"function_type": "method",
"source": {
"line": 54,
"path": "src/camera/src/Client/Effects/ImpulseCamera.lua"
}
}
],
"properties": [
{
"name": "CameraState",
"desc": "The current state.",
"lua_type": "CameraState",
"readonly": true,
"source": {
"line": 133,
"path": "src/camera/src/Client/Effects/ImpulseCamera.lua"
}
}
],
"types": [],
"name": "ImpulseCamera",
"desc": "Add another layer of effects over any other camera by allowing an \"impulse\"\nto be applied. Good for shockwaves, camera shake, and recoil.",
"source": {
"line": 7,
"path": "src/camera/src/Client/Effects/ImpulseCamera.lua"
}
}