Class SoAlphaPolicy

  • All Implemented Interfaces:

    public class SoAlphaPolicy
    extends SoNode
    Alpha (transparency) policy node. This node sets the current alpha (transparency) comparison policy for the renderer. It affects the blending operation to control how (and if) a transparent object should be rendered.

    Current available policies include :

    • As is : Use the alpha value of the fragment to control color blending
    • Opaque : If the fragment to render has an alpha value greater than 0.0, the object is rendered as opaque (no transparency). If the alpha value is 0.0 the object is considered fully transparent.
    • Discard : If the fragment alpha value is different from 1.0, the object is considered fully transparent. Otherwise it's rendered opaque.

    See Also:
    • Constructor Detail

      • SoAlphaPolicy

        public SoAlphaPolicy()
        Default Constructor.