Show raw api
{
"functions": [
{
"name": "new",
"desc": "Creates a new color picker!\n\n```lua\nlocal picker = HSVColorPicker.new()\npicker:SetColor(Color3.new(0.5, 0.5, 0.5))\npicker.Gui.Parent = screenGui\n```",
"params": [],
"returns": [
{
"desc": "",
"lua_type": "HSVColorPicker"
}
],
"function_type": "static",
"source": {
"line": 33,
"path": "src/colorpicker/src/Client/HSV/HSVColorPicker.lua"
}
},
{
"name": "SetSize",
"desc": "Sets the height of the HSVColorPicker. This impacts the [GetSizeValue] return\nsize. This is a general interface to size things.",
"params": [
{
"name": "height",
"desc": "",
"lua_type": "number"
}
],
"returns": [],
"function_type": "method",
"source": {
"line": 88,
"path": "src/colorpicker/src/Client/HSV/HSVColorPicker.lua"
}
},
{
"name": "SyncValue",
"desc": "Syncs the color picker with the Color3Value.",
"params": [
{
"name": "color3Value",
"desc": "",
"lua_type": "Color3Value"
}
],
"returns": [
{
"desc": "",
"lua_type": "maid"
}
],
"function_type": "method",
"source": {
"line": 101,
"path": "src/colorpicker/src/Client/HSV/HSVColorPicker.lua"
}
},
{
"name": "HintBackgroundColor",
"desc": "Hints what the background color of the HSVColorPicker. This impacts\nsome UI elements to ensure proper contrast.",
"params": [
{
"name": "color",
"desc": "",
"lua_type": "Color3"
}
],
"returns": [],
"function_type": "method",
"source": {
"line": 130,
"path": "src/colorpicker/src/Client/HSV/HSVColorPicker.lua"
}
},
{
"name": "SetHSVColor",
"desc": "Set the current color in HSV formet.",
"params": [
{
"name": "hsvColor",
"desc": "",
"lua_type": "Vector3"
}
],
"returns": [],
"function_type": "method",
"source": {
"line": 139,
"path": "src/colorpicker/src/Client/HSV/HSVColorPicker.lua"
}
},
{
"name": "GetHSVColor",
"desc": "Get the current color in HSV formet as a Vector3.",
"params": [],
"returns": [
{
"desc": "",
"lua_type": "Vector3"
}
],
"function_type": "method",
"source": {
"line": 150,
"path": "src/colorpicker/src/Client/HSV/HSVColorPicker.lua"
}
},
{
"name": "SetColor",
"desc": "Set the current color.",
"params": [
{
"name": "color",
"desc": "",
"lua_type": "Color3"
}
],
"returns": [],
"function_type": "method",
"source": {
"line": 159,
"path": "src/colorpicker/src/Client/HSV/HSVColorPicker.lua"
}
},
{
"name": "GetColor",
"desc": "Get the current color.",
"params": [],
"returns": [
{
"desc": "",
"lua_type": "Color3"
}
],
"function_type": "method",
"source": {
"line": 169,
"path": "src/colorpicker/src/Client/HSV/HSVColorPicker.lua"
}
},
{
"name": "GetSizeValue",
"desc": "A size value that defines the aspect ratio and size of this picker. See [SetSize]",
"params": [],
"returns": [
{
"desc": "",
"lua_type": "Vector3"
}
],
"function_type": "method",
"source": {
"line": 179,
"path": "src/colorpicker/src/Client/HSV/HSVColorPicker.lua"
}
},
{
"name": "SetTransparency",
"desc": "Sets the transparency of the color",
"params": [
{
"name": "transparency",
"desc": "",
"lua_type": "number"
}
],
"returns": [],
"function_type": "method",
"source": {
"line": 192,
"path": "src/colorpicker/src/Client/HSV/HSVColorPicker.lua"
}
}
],
"properties": [],
"types": [],
"name": "HSVColorPicker",
"desc": "A HSV color picker component which can be used to select colors using\nan interface standard to Roblox Studio.",
"realm": [
"Client"
],
"source": {
"line": 8,
"path": "src/colorpicker/src/Client/HSV/HSVColorPicker.lua"
}
}