Class SoLabel

  • All Implemented Interfaces:
    SafeDisposable

    public class SoLabel
    extends SoNode
    Node containing label text string. This class defines a label node in the scene graph. This node has no effect during traversal. It is used to store text labels in the scene graph, typically for application-specific identification of subgraphs when node naming is not appropriate.

    File format/default:

    Label {

      label "<Undefined label>"
    }

    See Also:
    SoInfo
    • Field Detail

      • label

        public final SoSFName label
        Defines the label string value.
    • Constructor Detail

      • SoLabel

        public SoLabel()
        Creates a label node with default settings.