Retrieves colors's blue channel value.
[int value] color:getB()
local cColor = vEngine.color.create(0, 0, 255, 255) --Creates blue color local channelColor = cColor:getB() --Retrieves blue channel's value print(channelColor) --Prints our channel's value
Last updated 2 years ago