Interface SFTime
- All Superinterfaces:
X3DField
- All Known Implementing Classes:
SFTime
SFTime specifies a single time value, expressed as a double-precision floating point number. Typically, SFTime fields represent the number of seconds since Jan 1, 1970, 00:00:00 GMT.
Warning: this is an abstract interface that cannot be instantiated as a concrete object. Java programmers typically only need to use concrete objects provided by the
Package hint: This interface is defined by the X3D Java Language Binding Specification for the Scene Authoring Interface (SAI).
Warning: this is an abstract interface that cannot be instantiated as a concrete object. Java programmers typically only need to use concrete objects provided by the
org.web3d.x3d.jsail
classes.
Package hint: This interface is defined by the X3D Java Language Binding Specification for the Scene Authoring Interface (SAI).
- See Also:
-
Method Details
-
getValue
double getValue()Get the current value.- Returns:
- current value
-
getJavaValue
long getJavaValue()Get the current value as a long.- Returns:
- current value
-
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
-