SKBlendMode Enum

Definition

An enumeration whose values specify options for blending of visual SKNodes or particles.

public enum SKBlendMode
type SKBlendMode = 
Inheritance
SKBlendMode

Fields

Add 1

The colors are added.

Alpha 0

The alpha value of the source color is used to blend the colors.

Multiply 3

The colors are multiplied.

MultiplyAlpha 7
MultiplyX2 4

The colors are multiplied and then doubled.

Replace 6

The source color is used.

Screen 5

The inverted source color is multiplied by the destination color, and the source color is added to the result..

Subtract 2

The source color is subtracted from the destination.

Applies to

See also