public interface TimeSensor extends X3DTimeDependentNode, X3DSensorNode
| Modifier and Type | Method and Description |
|---|---|
double |
getCycleInterval()
Provide double value in seconds within allowed range of [0,infinity) from inputOutput SFTime field named cycleInterval.
|
double |
getCycleTime()
Provide double value in seconds within allowed range of [0,infinity) from outputOnly SFTime field named cycleTime.
|
double |
getElapsedTime()
Provide double value in seconds within allowed range of [0,infinity) from outputOnly SFTime field named elapsedTime.
|
boolean |
getEnabled()
Provide boolean value from inputOutput SFBool field named enabled.
|
float |
getFraction()
Provide float value from outputOnly SFFloat field named fraction_changed.
|
boolean |
getIsActive()
Provide boolean value from outputOnly SFBool field named isActive.
|
boolean |
getIsPaused()
Provide boolean value from outputOnly SFBool field named isPaused.
|
boolean |
getLoop()
Provide boolean value from inputOutput SFBool field named loop.
|
X3DMetadataObject |
getMetadata()
Provide X3DMetadataObject instance (using a properly typed node) from inputOutput SFNode field metadata.
|
double |
getPauseTime()
Provide double value in seconds from inputOutput SFTime field named pauseTime.
|
double |
getResumeTime()
Provide double value in seconds from inputOutput SFTime field named resumeTime.
|
double |
getStartTime()
Provide double value in seconds from inputOutput SFTime field named startTime.
|
double |
getStopTime()
Provide double value in seconds from inputOutput SFTime field named stopTime.
|
double |
getTime()
Provide double value in seconds within allowed range of [0,infinity) from outputOnly SFTime field named time.
|
TimeSensor |
setCssClass(java.lang.String newValue)
Assign String value to inputOutput SFString field named class.
|
TimeSensor |
setCycleInterval(double newValue)
Assign double value in seconds within allowed range of [0,infinity) to inputOutput SFTime field named cycleInterval.
|
TimeSensor |
setDEF(java.lang.String newValue)
Assign String value to inputOutput SFString field named DEF.
|
TimeSensor |
setEnabled(boolean newValue)
Assign boolean value to inputOutput SFBool field named enabled.
|
TimeSensor |
setLoop(boolean newValue)
Assign boolean value to inputOutput SFBool field named loop.
|
TimeSensor |
setMetadata(X3DMetadataObject newValue)
Assign X3DMetadataObject instance (using a properly typed node) to inputOutput SFNode field metadata.
|
TimeSensor |
setPauseTime(double newValue)
Assign double value in seconds to inputOutput SFTime field named pauseTime.
|
TimeSensor |
setResumeTime(double newValue)
Assign double value in seconds to inputOutput SFTime field named resumeTime.
|
TimeSensor |
setStartTime(double newValue)
Assign double value in seconds to inputOutput SFTime field named startTime.
|
TimeSensor |
setStopTime(double newValue)
Assign double value in seconds to inputOutput SFTime field named stopTime.
|
TimeSensor |
setUSE(java.lang.String newValue)
Assign String value to inputOutput SFString field named USE.
|
double getCycleInterval()
TimeSensor setCycleInterval(double newValue)
newValue - is new value for the cycleInterval field.TimeSensor - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).double getCycleTime()
double getElapsedTime()
getElapsedTime in interface X3DTimeDependentNodeboolean getEnabled()
getEnabled in interface X3DSensorNodeTimeSensor setEnabled(boolean newValue)
setEnabled in interface X3DSensorNodenewValue - is new value for the enabled field.TimeSensor - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).float getFraction()
boolean getIsActive()
getIsActive in interface X3DSensorNodegetIsActive in interface X3DTimeDependentNodeboolean getIsPaused()
getIsPaused in interface X3DTimeDependentNodeboolean getLoop()
getLoop in interface X3DTimeDependentNodeTimeSensor setLoop(boolean newValue)
setLoop in interface X3DTimeDependentNodenewValue - is new value for the loop field.TimeSensor - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).X3DMetadataObject getMetadata()
getMetadata in interface X3DChildNodegetMetadata in interface X3DNodegetMetadata in interface X3DSensorNodegetMetadata in interface X3DTimeDependentNodeTimeSensor setMetadata(X3DMetadataObject newValue)
setMetadata in interface X3DChildNodesetMetadata in interface X3DNodesetMetadata in interface X3DSensorNodesetMetadata in interface X3DTimeDependentNodenewValue - is new value for the metadata field.TimeSensor - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).double getPauseTime()
getPauseTime in interface X3DTimeDependentNodeTimeSensor setPauseTime(double newValue)
setPauseTime in interface X3DTimeDependentNodenewValue - is new value for the pauseTime field.TimeSensor - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).double getResumeTime()
getResumeTime in interface X3DTimeDependentNodeTimeSensor setResumeTime(double newValue)
setResumeTime in interface X3DTimeDependentNodenewValue - is new value for the resumeTime field.TimeSensor - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).double getStartTime()
getStartTime in interface X3DTimeDependentNodeTimeSensor setStartTime(double newValue)
setStartTime in interface X3DTimeDependentNodenewValue - is new value for the startTime field.TimeSensor - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).double getStopTime()
getStopTime in interface X3DTimeDependentNodeTimeSensor setStopTime(double newValue)
setStopTime in interface X3DTimeDependentNodenewValue - is new value for the stopTime field.TimeSensor - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).double getTime()
TimeSensor setDEF(java.lang.String newValue)
setDEF in interface X3DChildNodesetDEF in interface X3DNodesetDEF in interface X3DSensorNodesetDEF in interface X3DTimeDependentNodenewValue - is new value for the DEF field.TimeSensor - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).TimeSensor setUSE(java.lang.String newValue)
USE node is still an independent object, with the USE value matching the DEF value in the preceding object.
setUSE() method on this node resets all other fields to their default values (except for containerField) and also releases all child nodes.setUSE in interface X3DChildNodesetUSE in interface X3DNodesetUSE in interface X3DSensorNodesetUSE in interface X3DTimeDependentNodenewValue - is new value for the USE field.TimeSensor - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).TimeSensor setCssClass(java.lang.String newValue)
setCssClass in interface X3DChildNodesetCssClass in interface X3DNodesetCssClass in interface X3DSensorNodesetCssClass in interface X3DTimeDependentNodenewValue - is new value for the class field.TimeSensor - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).Copyright ©2005-2017 Web3D Consortium under an open-source license, free for any use. Feedback is welcome.