Class SoSFBool


public class SoSFBool extends SoSField
Field containing a single Boolean value. A field containing a single Boolean (true or false) value.

SoSFBools may be written to file as "0" (representing false), "1", "true", or "false".

See Also:
  • Constructor Details

  • Method Details

    • getValue

      public boolean getValue()
      Returns this field's value.
    • setValue

      public void setValue(boolean newValue)
      Sets this field to newValue.
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class SoField