Package apple.scenekit.enums
Class SCNTransparencyMode
- java.lang.Object
-
- apple.scenekit.enums.SCNTransparencyMode
-
public final class SCNTransparencyMode extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description static longAOneTakes the transparency information from the alpha channel.static longDefaultstatic longDualLayerEnsures that two layers of transparency are ordered and drawn correctly.static longRGBZeroIgnores the alpha channel and takes the transparency information from the luminance of the red, green, and blue channels.static longSingleLayerEnsures that one layer of transparency is drawn correctly.
-
-
-
Field Detail
-
AOne
public static final long AOne
Takes the transparency information from the alpha channel. The value 1.0 is opaque.- See Also:
- Constant Field Values
-
RGBZero
public static final long RGBZero
Ignores the alpha channel and takes the transparency information from the luminance of the red, green, and blue channels. The value 0.0 is opaque.- See Also:
- Constant Field Values
-
SingleLayer
public static final long SingleLayer
Ensures that one layer of transparency is drawn correctly.- See Also:
- Constant Field Values
-
DualLayer
public static final long DualLayer
Ensures that two layers of transparency are ordered and drawn correctly. This should be used for transparent convex objects like cubes and spheres, when you want to see both front and back faces.- See Also:
- Constant Field Values
-
Default
public static final long Default
- See Also:
- Constant Field Values
-
-