Effect.Grayscale

The Effect.Grayscale effect is a pixel effect that applies a grayscale color transformation.

property Bool enabled: true

When disabled, the grayscale effect is not applied.

property Float amount: 1

The proportion of the grayscale effect applied. A value of 0 leaves the input unchanged, whereas a value of 1 is completely grayscale.