Edytuj

Udostępnij za pośrednictwem


SKBlendMode Enum

Definition

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

public enum SKBlendMode
type SKBlendMode = 
Inheritance
SKBlendMode

Fields

Name Value Description
Alpha 0

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

Add 1

The colors are added.

Subtract 2

The source color is subtracted from the destination.

Multiply 3

The colors are multiplied.

MultiplyX2 4

The colors are multiplied and then doubled.

Screen 5

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

Replace 6

The source color is used.

MultiplyAlpha 7

Applies to

See also