| 1 |
X3DTimeDependentNode : X3DChildNode { |
| 2 |
SFBool [in,out] loop FALSE |
| 3 |
SFTime [in,out] pauseTime 0 |
| 4 |
range: (-Inf,Inf) |
| 5 |
change: chTimeStopStart |
| 6 |
SFTime [in,out] resumeTime 0 |
| 7 |
range: (-Inf,Inf) |
| 8 |
change: chTimeStopStart |
| 9 |
SFTime [in,out] startTime 0 |
| 10 |
range: (-Inf,Inf) |
| 11 |
change: chTimeStopStart |
| 12 |
SFTime [in,out] stopTime 0 |
| 13 |
range: (-Inf,Inf) |
| 14 |
change: chTimeStopStart |
| 15 |
SFTime [out] elapsedTime |
| 16 |
SFBool [out] isActive |
| 17 |
SFBool [out] isPaused |
| 18 |
} |
| 19 |
|
| 20 |
TimeSensor : X3DTimeDependentNode, X3DSensorNode { |
| 21 |
SFTime [in,out] cycleInterval 1 |
| 22 |
range: (0,Inf) |
| 23 |
SFTime [out] cycleTime |
| 24 |
SFFloat [out] fraction_changed |
| 25 |
SFTime [out] time |
| 26 |
# "enabled" inherited from X3DSensorNode. |
| 27 |
# Needs to be mentioned here, as everything inherited from non-1st ancestor |
| 28 |
# (from interface, not class, in Object Pascal implementation) |
| 29 |
# needs to be mentioned, to be correctly processed by x3d-nodes-to-pascal.lpr. |
| 30 |
SFBool [in,out] enabled TRUE |
| 31 |
# CGE extension, see https://castle-engine.io/x3d_implementation_time_extensions.php |
| 32 |
SFBool [in,out] fractionIncreasing TRUE |
| 33 |
# CGE extension, see https://castle-engine.io/x3d_implementation_time_extensions.php |
| 34 |
SFBool [] detectAffectedFields TRUE |
| 35 |
} |