X3D TimeSensor
Tag Name
TimeSensor
Tag Description
Generates continous events as time progresses.
Component
Time
Tag Attributes
cycleInterval
Field Type: SFTime
Access Type: inputOutput
Default Value: 1
Value Range: 0, ∞
Description: The duration of a single cycle.
enabled
Field Type: SFBool
Access Type: inputOutput
Default Value: TRUE
Value Range: ...
Description: The node is enabled and is running.
loop
Field Type: SFBool
Access Type: inputOutput
Default Value: FALSE
Value Range: ...
Description: Sets whether or not a time-dependent node should continue with the next cycle.
pauseTime
Field Type: SFTime
Access Type: inputOutput
Default Value: 0
Value Range: -∞, ∞
Description: When NOW time >= pauseTime > resumeTime.
resumeTime
Field Type: SFTime
Access Type: inputOutput
Default Value: 0
Value Range: ...
Description: When NOW time >= resumeTime > pauseTime.
startTime
Field Type: SFTime
Access Type: inputOutput
Default Value: 0
Value Range: ...
Description: When NOW time >= startTime.
stopTime
Field Type: SFTime
Access Type: inputOutput
Default Value: 0
Value Range: ...
Description: When stopTime > startTime.
cycleTime
Field Type: SFTime
Access Type: outputOnly
Default Value: ...
Value Range: ...
Description: Equal to NOW time at the beginning of the current cycle.
elapsedTime
Field Type:SFTime
Access Type: outputOnly
Default Value: ...
Value Range: ...
Description: Cumulative time since the TimeSensor was activated and running but not counting any time when paused.
fraction_changed
Field Type: SFFloat
Access Type: outputOnly
Default Value: ...
Value Range: ...
Description: A floating point number generated after startTime.
isActive
Field Type: SFBool
Access Type: outputOnly
Default Value: ...
Value Range: ...
Description: A TRUE event is generated and the time-dependent node becomes active and FALSE when inactive.
isPaused
Field Type: SFBool
Access Type: outputOnly
Default Value: ...
Value Range: ...
Description: A TRUE event is generated when an active time-dependent node is paused and FALSE when resumed.
time
Field Type: SFTime
Access Type: outputOnly
Default Value: ...
Value Range: ...
Description: The absolute time for a given simulation tick.
metadata
Field Type: SFNode
Access Type: inputOutput
Default Value: NULL
Value Range: X3DMetadataObject
Description: Information about this node.