UI\Draw\Color::setChannel
PHP function
Edit on GitHub ✎
(UI 0.9.9)
Color Manipulation
Description
UI\Draw\Color::setChannel(int $channel, float $value): void
Shall set the selected channel to the given value
Parameters
channelConstant channel identity
valueThe new value for the selected channel