|
Xj3D VRML/X3D Code API | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.web3d.vrml.renderer.ogl.browser.PerFrameManager
org.web3d.ogl.loaders.Xj3DClockRuntime
Implementation of the
org.j3d.renderer.aviatrix3d.loaders.AVRuntimeComponent that
can be used to drive the X3D/VRML scene graph clock.
This clock allows the end user to play with the definition of "time" in the scene graph by speeding up or slowing down the standard system clock. The intial time is set to the time that this class instance is created.
| Field Summary |
| Fields inherited from class org.web3d.vrml.renderer.ogl.browser.PerFrameManager |
browser, currentWallTime, errorReporter, eventModel, lastWallTime |
| Constructor Summary | |
Xj3DClockRuntime(EventModelEvaluator eme,
BrowserCore core)
Create a new instance of the clock runtime component. |
|
| Method Summary | |
void |
executeModelBehavior()
Execute the behaviour of the runtime component now. |
float |
getClockScaleFactor()
Get the currently set clock scale factor. |
void |
setClockScaleFactor(float scale)
Set the clock's scale factor to a new value. |
| Methods inherited from class org.web3d.vrml.renderer.ogl.browser.PerFrameManager |
clockTick, setErrorReporter, setEventModelStatusListener, shutdown |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Xj3DClockRuntime(EventModelEvaluator eme,
BrowserCore core)
core - The browser representation to send events toeme - The evaluator to use| Method Detail |
public void executeModelBehavior()
public void setClockScaleFactor(float scale)
scale - The new scale factor to usepublic float getClockScaleFactor()
|
Xj3D VRML/X3D Code API | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||