TimeSensor

Error message

Deprecated function: The each() function is deprecated. This message will be suppressed on further calls in book_prev() (line 775 of /home/drbiz/public/tools.realism.com/modules/book/book.module).

Primary tabs

Add the following fields to TimeSensor

TimeSensor : X3DTimeSensorNode {
[in]
start
SFBool
FALSE
[in]
stop
SFBool
FALSE
[in]
pause
SFBool
FALSE
[in]
resume
SFBool
FALSE
[]
interpolator
MFNode
[]
X3DInterpolatorNode



}

A TRUE start event causes the TimeSensor to immediately start as if startTime was set to the current time and enabled is set to TRUE. It runs as normal depending on stopTIme, loop, and pauseTime.

A TRUE stop event causes the TimeSensor to immediately stop as if stopTime was set to the current time. It runs as normal depending on stopTIme, loop, and pauseTime.

A TRUE pause event causes the TimeSensor to immediately pause as if pauseTime was set to the current time.

A TRUE resume event causes the TimeSensor to immediately resumse as if resumeTime was set to the current time.

Any number of X3DInterpolatorNodes may be children of a TimeSensor. All X3DInterpolatorNodes automatically have a ROUTE that connects from the TimeSensor's fraction_changed to each X3DInterpolatorNode's set_fraction field. It is still necessary to construct ROUTEs that pass the X3DInterpolatorNode's value_changed field to the appropriate target.