BBMOD_Color.Mix

A function defined in BBMOD_Color.gml

Mix(_color, _factor)

Description

Mixes two colors.

Arguments

Name Type Description
_color Struct.BBMOD_Color The other color to mix this one with.
_factor Real The mixing factor. Use values in range 0..1, where 0 would result into this color, 1 would be the other color and 0.5 would return a merge of both colors equally.

Returns

Struct.BBMOD_Color The new color.

Do you find this page helpful?

Copyright © 2024, BlueBurn. Built on September 07, 2024 using GMDoc.