Interface SFTime

All Superinterfaces:
X3DField
All Known Implementing Classes:
SFTimeObject

public interface SFTime
extends X3DField
The SFTime field specifies a single time value. Time values are specified as a double-precision floating point number. Typically, SFTime fields represent the number of seconds since Jan 1, 1970, 00:00:00 GMT.


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.35, SAI Abstract Specification: 5.2.15 SAIFieldType, X3D Abstract Specification: 5.3.15 SFTime and MFTime, X3D Tooltips, X3D Tooltips: field, X3D Tooltips: fieldValue, X3D Scene Authoring Hints
  • Method Details

    • getValue

      double getValue()
      Get the current value.
      Returns:
      current value
    • getJavaValue

      long getJavaValue()
    • setValue

      void setValue​(double newValue)
      Assign a new value to this field.
      Parameters:
      newValue - is replacement value array to assign
    • setValue

      void setValue​(long newValue)
      Assign a new value to this field.
      Parameters:
      newValue - is replacement value array to assign