Skip to main content

ColorSequenceUtils

Utility functions for Color sequences in Roblox.

Functions

getColor

ColorSequenceUtils.getColor(
colorSequenceColorSequence,
tnumber
) → Color3

Gets the current color for the color sequence at the given timestamp.

stripe

ColorSequenceUtils.stripe(
stripesnumber,
backgroundColor3Color3,
stripeColor3Color3,
percentStripeThicknessnumber,
percentOffsetnumber
) → ColorSequence

Makes stripes for color sequences.

Show raw api
{
    "functions": [
        {
            "name": "getColor",
            "desc": "Gets the current color for the color sequence at the given timestamp.",
            "params": [
                {
                    "name": "colorSequence",
                    "desc": "",
                    "lua_type": "ColorSequence"
                },
                {
                    "name": "t",
                    "desc": "",
                    "lua_type": "number"
                }
            ],
            "returns": [
                {
                    "desc": "",
                    "lua_type": "Color3"
                }
            ],
            "function_type": "static",
            "source": {
                "line": 21,
                "path": "src/colorsequenceutils/src/Shared/ColorSequenceUtils.lua"
            }
        },
        {
            "name": "stripe",
            "desc": "Makes stripes for color sequences.",
            "params": [
                {
                    "name": "stripes",
                    "desc": "",
                    "lua_type": "number"
                },
                {
                    "name": "backgroundColor3",
                    "desc": "",
                    "lua_type": "Color3"
                },
                {
                    "name": "stripeColor3",
                    "desc": "",
                    "lua_type": "Color3"
                },
                {
                    "name": "percentStripeThickness",
                    "desc": "",
                    "lua_type": "number"
                },
                {
                    "name": "percentOffset",
                    "desc": "",
                    "lua_type": "number"
                }
            ],
            "returns": [
                {
                    "desc": "",
                    "lua_type": "ColorSequence"
                }
            ],
            "function_type": "static",
            "source": {
                "line": 56,
                "path": "src/colorsequenceutils/src/Shared/ColorSequenceUtils.lua"
            }
        }
    ],
    "properties": [],
    "types": [],
    "name": "ColorSequenceUtils",
    "desc": "Utility functions for Color sequences in Roblox.",
    "source": {
        "line": 5,
        "path": "src/colorsequenceutils/src/Shared/ColorSequenceUtils.lua"
    }
}