Skip to main content

InputModeProcessor

Process inputs by evaluating inputModes. Helper object..

Functions

new

InputModeProcessor.new(inputModes{InputMode}?) → InputModeProcessor

Construtcs a new inputModeProcessor

GetStates

InputModeProcessor:GetStates() → {InputMode}

Gets all input mode inputModes being used

Evaluate

InputModeProcessor:Evaluate(inputObjectInputObject) → ()

Applies the inputObject as an evaluation for the inputm odes

Show raw api
{
    "functions": [
        {
            "name": "new",
            "desc": "Construtcs a new inputModeProcessor",
            "params": [
                {
                    "name": "inputModes",
                    "desc": "",
                    "lua_type": "{ InputMode }?"
                }
            ],
            "returns": [
                {
                    "desc": "",
                    "lua_type": "InputModeProcessor"
                }
            ],
            "function_type": "static",
            "source": {
                "line": 16,
                "path": "src/inputmode/src/Client/InputModeProcessor.lua"
            }
        },
        {
            "name": "GetStates",
            "desc": "Gets all input mode inputModes being used",
            "params": [],
            "returns": [
                {
                    "desc": "",
                    "lua_type": "{ InputMode }"
                }
            ],
            "function_type": "method",
            "source": {
                "line": 38,
                "path": "src/inputmode/src/Client/InputModeProcessor.lua"
            }
        },
        {
            "name": "Evaluate",
            "desc": "Applies the inputObject as an evaluation for the inputm odes",
            "params": [
                {
                    "name": "inputObject",
                    "desc": "",
                    "lua_type": "InputObject"
                }
            ],
            "returns": [],
            "function_type": "method",
            "source": {
                "line": 46,
                "path": "src/inputmode/src/Client/InputModeProcessor.lua"
            }
        }
    ],
    "properties": [],
    "types": [],
    "name": "InputModeProcessor",
    "desc": "Process inputs by evaluating inputModes. Helper object..",
    "source": {
        "line": 6,
        "path": "src/inputmode/src/Client/InputModeProcessor.lua"
    }
}