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(selfCameraControls) → ()

Enables the control.

Disable

CameraControls.Disable(selfCameraControls) → ()

Disables the control.

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