Skip to main content

LagPointCamera

Point a current element but lag behind for a smoother experience

Functions

new

LagPointCamera.new(
originCameraCameraEffect,--

A camera to use

focusCameraCameraEffect--

The Camera to look at.

) → LagPointCamera

Camera that lags behind the actual camera.

Show raw api
{
    "functions": [
        {
            "name": "new",
            "desc": "Camera that lags behind the actual camera.",
            "params": [
                {
                    "name": "originCamera",
                    "desc": "A camera to use",
                    "lua_type": "CameraEffect"
                },
                {
                    "name": "focusCamera",
                    "desc": "The Camera to look at.",
                    "lua_type": "CameraEffect"
                }
            ],
            "returns": [
                {
                    "desc": "",
                    "lua_type": "LagPointCamera"
                }
            ],
            "function_type": "static",
            "source": {
                "line": 24,
                "path": "src/camera/src/Client/Effects/LagPointCamera.lua"
            }
        }
    ],
    "properties": [],
    "types": [],
    "name": "LagPointCamera",
    "desc": "Point a current element but lag behind for a smoother experience",
    "source": {
        "line": 5,
        "path": "src/camera/src/Client/Effects/LagPointCamera.lua"
    }
}