BBMOD_Color.FromRGBA

A function defined in BBMOD_Color.gml

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 © 2024, BlueBurn. Built on January 21, 2024 using GMDoc.