Skip to main content

LuvVectorColor3Utils

Functions

fromColor3

LuvVectorColor3Utils.fromColor3(color3Color3) → Vector3

Converts the Color3 to a Vector3 which can be interpolated by something like a spring.

toColor3

LuvVectorColor3Utils.toColor3(luvV3Vector3) → Color3

Converts the Vector3 to a Color3 assuming it is the interpolated version.

Show raw api
{
    "functions": [
        {
            "name": "fromColor3",
            "desc": "Converts the Color3 to a Vector3 which can be interpolated by something\nlike a spring.",
            "params": [
                {
                    "name": "color3",
                    "desc": "",
                    "lua_type": "Color3"
                }
            ],
            "returns": [
                {
                    "desc": "",
                    "lua_type": "Vector3"
                }
            ],
            "function_type": "static",
            "source": {
                "line": 17,
                "path": "src/color3utils/src/Shared/luv/LuvVectorColor3Utils.lua"
            }
        },
        {
            "name": "toColor3",
            "desc": "Converts the Vector3 to a Color3 assuming it is the interpolated version.",
            "params": [
                {
                    "name": "luvV3",
                    "desc": "",
                    "lua_type": "Vector3"
                }
            ],
            "returns": [
                {
                    "desc": "",
                    "lua_type": "Color3"
                }
            ],
            "function_type": "static",
            "source": {
                "line": 32,
                "path": "src/color3utils/src/Shared/luv/LuvVectorColor3Utils.lua"
            }
        }
    ],
    "properties": [],
    "types": [],
    "name": "LuvVectorColor3Utils",
    "desc": "",
    "source": {
        "line": 4,
        "path": "src/color3utils/src/Shared/luv/LuvVectorColor3Utils.lua"
    }
}