Xj3D VRML/X3D Code API

org.web3d.vrml.nodes
Interface VRMLTimeDependentNodeType

All Superinterfaces:
FrameStateListener, VRMLChildNodeType, VRMLNode, VRMLNodeType
All Known Subinterfaces:
J3DAudioClipNodeType, NRAudioClipNodeType, VRMLAudioClipNodeType, VRMLTimeControlledNodeType
All Known Implementing Classes:
BaseBindableNode, BaseTimeControlledNode, BaseTimeDependentNode

public interface VRMLTimeDependentNodeType
extends VRMLChildNodeType

Nodes which have behaviour controlled by a clock.

Time information is provided by the clock that can be set by the implementing runtime system. With the clock, the node can then register clock ticks listeners for timing update information.

Version:
$Revision: 1.8 $
Author:
Alan Hudson

Method Summary
 void setVRMLClock(VRMLClock clock)
          Set the clock that this time dependent node will be running with.
 
Methods inherited from interface org.web3d.vrml.nodes.VRMLNodeType
addNodeListener, getFieldValue, getMetadataObject, getRefCount, hasFieldChanged, isSetupFinished, notifyExternProtoLoaded, removeNodeListener, sendRoute, setDEF, setFrameStateManager, setMetadataObject, setupFinished, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, updateRefCount
 
Methods inherited from interface org.web3d.vrml.lang.VRMLNode
getFieldDeclaration, getFieldIndex, getNodeFieldIndices, getNumFields, getPrimaryType, getSecondaryType, getUserData, getVRMLNodeName, isDEF, setErrorReporter, setUserData, setVersion
 
Methods inherited from interface org.web3d.vrml.nodes.FrameStateListener
allEventsComplete
 

Method Detail

setVRMLClock

public void setVRMLClock(VRMLClock clock)
Set the clock that this time dependent node will be running with. The clock provides all the information and listeners for keeping track of time. Setting a value of null will ask the node to remove the clock from it's use so that the node may be removed from the scene.

Parameters:
clock - The clock to use for this node

Xj3D VRML/X3D Code API

Copyright © 2001 - 2005 Web3D Consortium