Skip to main content

CameraControls

Interface between user input and camera controls

Functions

SetGamepadRotationAcceleration

CameraControls:SetGamepadRotationAcceleration(accelerationnumber) → ()

Sets the gamepad rotation acceleration

Enable

CameraControls:Enable() → ()

Enables the control.

Disable

CameraControls:Disable() → ()

Disables the control.

Show raw api
{
    "functions": [
        {
            "name": "SetGamepadRotationAcceleration",
            "desc": "Sets the gamepad rotation acceleration",
            "params": [
                {
                    "name": "acceleration",
                    "desc": "",
                    "lua_type": "number"
                }
            ],
            "returns": [],
            "function_type": "method",
            "source": {
                "line": 73,
                "path": "src/camera/src/Client/Controls/CameraControls.lua"
            }
        },
        {
            "name": "Enable",
            "desc": "Enables the control.",
            "params": [],
            "returns": [],
            "function_type": "method",
            "source": {
                "line": 90,
                "path": "src/camera/src/Client/Controls/CameraControls.lua"
            }
        },
        {
            "name": "Disable",
            "desc": "Disables the control.",
            "params": [],
            "returns": [],
            "function_type": "method",
            "source": {
                "line": 138,
                "path": "src/camera/src/Client/Controls/CameraControls.lua"
            }
        }
    ],
    "properties": [],
    "types": [],
    "name": "CameraControls",
    "desc": "Interface between user input and camera controls",
    "source": {
        "line": 5,
        "path": "src/camera/src/Client/Controls/CameraControls.lua"
    }
}