Enumeration

SCNTransparencyMode

The modes SceneKit uses to calculate the opacity of pixels rendered with a material, used by the transparencyMode property.

Declaration

typedef enum SCNTransparencyMode : NSInteger {
    ...
} SCNTransparencyMode;

Topics

Constants

SCNTransparencyModeAOne

SceneKit derives transparency information from the alpha channel of colors. The value 1.0 is opaque.

SCNTransparencyModeRGBZero

SceneKit derives transparency information from the luminance of colors. The value 0.0 is opaque.

See Also

Managing Opacity and Blending

transparency

The uniform transparency of the material. Animatable.

transparencyMode

The mode SceneKit uses to calculate transparency for the material.

blendMode

The mode that determines how pixel colors rendered using this material blend with other pixel colors in the rendering target.

SCNBlendMode

Modes that describe how SceneKit blends source colors rendered using a material with destination colors already in a rendering target, used by the blendMode property.