Mix

function

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 © 2022, BlueBurn. Built on April 11, 2022 using GMDoc.