FromRGBA

function

FromRGBA(_red, _green, _blue[, _alpha])

Description

Initializes the color using RGBA.

Arguments

Name Type Description
_red Real The value of the red channel. Use values in range 0..BBMOD_RGBM_VALUE_MAX.
_green Real The value of the green channel. Use values in range 0..BBMOD_RGBM_VALUE_MAX.
_blue Real The value of the blue channel. Use values in range 0..BBMOD_RGBM_VALUE_MAX.
_alpha Real The value of the alpha channel. Defaults to 1.

Returns

Struct.BBMOD_Color Returns self.

Do you find this page helpful?

Copyright © 2022, BlueBurn. Built on April 11, 2022 using GMDoc.