SCNBlendMode SCNBlendMode Enum

Definition

Enumeration of the ways SceneKit can blend colors from a material with colors that already exist in the render target.

[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.WatchOS, 3, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 9, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 11, ObjCRuntime.PlatformArchitecture.All, null)]
public enum SCNBlendMode
type SCNBlendMode = 
Inheritance
SCNBlendModeSCNBlendMode
Attributes

Fields

Add Add 1

Indicates that colors will be blended by adding their values.

Alpha Alpha 0

Indicates that colors will be blended by multiplying the source and destination values by their corresponding alpha values

Max Max 6
Multiply Multiply 3

Indicates that colors will be blended by multiplying their corresponding components.

Replace Replace 5

Indicates that colors will be blended by replacing the destination with the source and ignoring the alpha channel.

Screen Screen 4

Indicates that colors will be blended by multiplying their corresponding inverses.

Subtract Subtract 2

Indicates that colors will be blended by subtracting the source from the destination.

Applies to