Interface SFFloat

All Superinterfaces:
X3DField
All Known Implementing Classes:
SFFloat

public interface SFFloat extends X3DField
SFFloat is a single-precision floating-point type.


Package hint: This interface is defined by the X3D Java Language Binding Specification for the Scene Authoring Interface (SAI).
See Also:
SAI Java Specification: B.4.15, SAI Abstract Specification: 5.2.15 SAIFieldType, X3D Abstract Specification: 5.3.5 SFFloat and MFFloat, X3D Tooltips, X3D Tooltips: field, X3D Tooltips: fieldValue, X3D Scene Authoring Hints
  • Method Summary

    Modifier and Type
    Method
    Description
    float
    Get the current value.
    void
    setValue​(float newValue)
    Assign a new value to this field.
  • Method Details

    • getValue

      float getValue()
      Get the current value.
      Returns:
      current value
    • setValue

      void setValue(float newValue)
      Assign a new value to this field.
      Parameters:
      newValue - The new value to set