Skip to main content

PointCamera

Point a current element

Functions

new

PointCamera.new(
originCameraCamera,--

A camera to use

focusCameraCamera--

The Camera to look at.

) → ()

Initializes a new PointCamera

Show raw api
{
    "functions": [
        {
            "name": "new",
            "desc": "Initializes a new PointCamera",
            "params": [
                {
                    "name": "originCamera",
                    "desc": "A camera to use",
                    "lua_type": "Camera"
                },
                {
                    "name": "focusCamera",
                    "desc": "The Camera to look at.",
                    "lua_type": "Camera"
                }
            ],
            "returns": [],
            "function_type": "static",
            "source": {
                "line": 20,
                "path": "src/camera/src/Client/Effects/PointCamera.lua"
            }
        }
    ],
    "properties": [],
    "types": [],
    "name": "PointCamera",
    "desc": "Point a current element",
    "source": {
        "line": 5,
        "path": "src/camera/src/Client/Effects/PointCamera.lua"
    }
}