Class SoNormalBinding

  • All Implemented Interfaces:
    SafeDisposable

    public class SoNormalBinding
    extends SoNode
    Node that specifies how multiple surface normals are bound to shapes. This node specifies how the current normals are bound to shapes that follow in the scene graph. Each shape node may interpret bindings differently.

    The bindings for faces and vertices are meaningful only for shapes that are made from faces and vertices. Similarly, the indexed bindings are only used by the shapes that allow indexing. For bindings that require multiple normals, be sure to have at least as many normals defined as are necessary; otherwise, errors will occur.

    File format/default:

    NormalBinding {

      value PER_VERTEX_INDEXED
    }

    Action behavior:

    SoGLRenderAction, SoCallbackAction, SoRayPickAction
    Sets the current normal binding type. Sets: SoNormalBindingElement

    See Also:
    SoMaterialBinding, SoNormal, SoTextureCoordinateBinding, SoVertexShape, SoVertexProperty
    • Constructor Detail

      • SoNormalBinding

        public SoNormalBinding()
        Creates a normal binding node with default settings.