Class SCNTransparencyMode


  • public final class SCNTransparencyMode
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static long AOne
      Takes the transparency information from the alpha channel.
      static long Default  
      static long DualLayer
      Ensures that two layers of transparency are ordered and drawn correctly.
      static long RGBZero
      Ignores the alpha channel and takes the transparency information from the luminance of the red, green, and blue channels.
      static long SingleLayer
      Ensures that one layer of transparency is drawn correctly.
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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