Skip to content

ApiTintLayer

Colour painted over the scene. The only technique that reads a colour and the only one that never touches the frame behind it, which also makes it the only one that may sit anywhere in a stack. Build one with API.VisualEffects.NewTintLayer.

Type: int

Red channel of the layer’s colour, 0-255. Clamped into range when the effect starts.

Type: int

Green channel of the layer’s colour, 0-255.

Type: int

Blue channel of the layer’s colour, 0-255.

Type: int

Alpha channel of the layer’s colour, 0-255. Note that ApiLayerEffect.Strength is what the layer is actually painted at; this one tints rather than fades.

No fields found.

No enums found.