SCNBlendMode Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
-
SCNBlendMode
- Attributes
Fields
Name | Value | Description |
---|---|---|
Alpha | 0 | Indicates that colors will be blended by multiplying the source and destination values by their corresponding alpha values |
Add | 1 | Indicates that colors will be blended by adding their values. |
Subtract | 2 | Indicates that colors will be blended by subtracting the source from the destination. |
Multiply | 3 | Indicates that colors will be blended by multiplying their corresponding components. |
Screen | 4 | Indicates that colors will be blended by multiplying their corresponding inverses. |
Replace | 5 | Indicates that colors will be blended by replacing the destination with the source and ignoring the alpha channel. |
Max | 6 |