Show raw api
{
"functions": [
{
"name": "new",
"desc": "Constructs a new TrackCamera",
"params": [
{
"name": "cameraSubject",
"desc": "The CameraSubject to look at. A Roblox part of Roblox model",
"lua_type": "Instance?"
}
],
"returns": [
{
"desc": "",
"lua_type": "TrackCamera"
}
],
"function_type": "static",
"source": {
"line": 21,
"path": "src/camera/src/Client/Effects/TrackCamera.lua"
}
}
],
"properties": [
{
"name": "CameraState",
"desc": "The current state.",
"lua_type": "CameraState",
"readonly": true,
"source": {
"line": 53,
"path": "src/camera/src/Client/Effects/TrackCamera.lua"
}
},
{
"name": "FieldOfView",
"desc": "The current field of view.",
"lua_type": "number",
"source": {
"line": 58,
"path": "src/camera/src/Client/Effects/TrackCamera.lua"
}
},
{
"name": "CameraSubject",
"desc": "The current field of view.",
"lua_type": "Instance",
"source": {
"line": 63,
"path": "src/camera/src/Client/Effects/TrackCamera.lua"
}
}
],
"types": [],
"name": "TrackCamera",
"desc": "Track a current part, whether it be a model or part",
"source": {
"line": 5,
"path": "src/camera/src/Client/Effects/TrackCamera.lua"
}
}