Effect.Tint

The Effect.Tint effect is a pixel effect that tints an item a specified color.

property Bool enabled: true

When the effect is disabled, the tint is not applied.

property Effect.Tint.Style style: .Luminance

The tint can be applied based on the item's luminance or the item's alpha channel.

Effect.Tint.Style.Luminance

When using the luminance style, the output pixel color is the tint color multiplied by the input pixel's luminance.

Effect.Tint.Style.Alpha

When using the alpha style, the output pixel color is the tint color multiplied by the effected item's alpha channel. The red, green and blue channels have no effect.

property Color color: #black

The tint color to use.