:setB

Sets colors's blue channel value.

━ Syntax

[bool result] color:setB(int blue)

━ Usage

local cColor = vEngine.color.create(0, 0, 255, 255) --Creates blue color
local result = cColor:setB(0) --Updates blue channel's value
print(result) --Prints result

Last updated