TimerJob
The TimerJob is responsible for the time in all simulation systems
Inheritance
Code
XML encoding
<TimerJob triggerName='Timer' time='0' speed='1.0' fixFrameDelta='0' isSceneTimer='TRUE' proceed='TRUE' systemTime='TRUE' enabled='TRUE' runTime='0' logFeature='' />
Classic encoding
TimerJob { triggerName "Timer" time 0 speed 1.0 fixFrameDelta 0 isSceneTimer TRUE proceed TRUE systemTime TRUE enabled TRUE runTime 0 logFeature [""] }
Interface
Filter: X3D only | Avalon only | All
id | Name | DataType | PartType | Default | ValueType | Description |
---|---|---|---|---|---|---|
logFeature | MFString | inputOutput | state, child, parent, route, eventIn, eventOut | controls the logging of changes, state: log state changes (e.g. live), child: log child add/remove, parent: log parent add/remove, route: log route add/remove; eventIn: log receiving of events, eventOut: log sending of events: guiView, runtime system should create node-view, guiEdit: runtime system should create node-editeverything: log everything | ||
enabled | SFBool | inputOutput | TRUE | If TRUE, job is ready to receive and process start event | ||
isSceneTimer | SFBool | inputOutput | TRUE | If TRUE, this timer job is used to set the scene time | ||
proceed | SFBool | inputOutput | TRUE | If TRUE, time is running | ||
systemTime | SFBool | initializeOnly | TRUE | Start time of the simulation system | ||
speed | SFFloat | inputOutput | 1.0 | Defines context-global factor which scales all time-dependent calculations (e.g. animation, simulation) | ||
metadata | SFNode | inputOutput | MetadataObject | container for payload metadata inside MetadataSet element | ||
triggerName | SFString | initializeOnly | Timer | name of the dynamic context-slot which is used by the run-time the Jobs to trigger Live-nodes. Life-Jobs will automatically connect the triggerSlot-output to the context-slot. | ||
exec | SFTime | inputOnly | This event is used to exec the job | |||
fixFrameDelta | SFTime | inputOutput | 0 | If TRUE, a fixed time delta between frames is used. This is useful, if rendering result is used to generate a movie | ||
post | SFTime | outputOnly | This event is triggered when the job is finished | |||
pre | SFTime | outputOnly | This event is triggered when the job starts | |||
runTime | SFTime | initializeOnly | 0 | Time when execution was finished | ||
time | SFTime | inputOutput | 0 | Current system time |