Package org.web3d.x3d.sai.time
Interface TimeSensor
- All Superinterfaces:
X3DChildNode,X3DNode,X3DSensorNode,X3DTimeDependentNode
- All Known Implementing Classes:
SAITimeSensor,SAITimeSensor
Defines the requirements of an X3D TimeSensor node
- Version:
- $Revision: 1.1 $
- Author:
- Rex Melton
-
Method Summary
Modifier and TypeMethodDescriptiondoubleReturn the cycleInterval double value.doubleReturn the cycleTime double value.floatReturn the fraction float value.doublegetTime()Return the time double value.voidsetCycleInterval(double val) Set the cycleInterval field.Methods inherited from interface org.web3d.x3d.sai.X3DNode
dispose, getField, getFieldDefinitions, getMetadata, getNodeName, getNodeType, isRealized, realize, setMetadataMethods inherited from interface org.web3d.x3d.sai.X3DSensorNode
getEnabled, getIsActive, setEnabledMethods inherited from interface org.web3d.x3d.sai.X3DTimeDependentNode
getElapsedTime, getIsActive, getIsPaused, getLoop, getPauseTime, getResumeTime, getStartTime, getStopTime, setLoop, setPauseTime, setResumeTime, setStartTime, setStopTime
-
Method Details
-
getCycleInterval
double getCycleInterval()Return the cycleInterval double value.- Returns:
- The cycleInterval double value.
-
setCycleInterval
void setCycleInterval(double val) Set the cycleInterval field.- Parameters:
val- The double to set.
-
getFraction
float getFraction()Return the fraction float value.- Returns:
- The fraction float value.
-
getTime
double getTime()Return the time double value.- Returns:
- The time double value.
-
getCycleTime
double getCycleTime()Return the cycleTime double value.- Returns:
- The cycleTime double value.
-