Xj3D VRML/X3D Code API

org.web3d.vrml.nodes
Interface VRMLParticlePhysicsModelNodeType

All Superinterfaces:
FrameStateListener, VRMLNode, VRMLNodeType

public interface VRMLParticlePhysicsModelNodeType
extends VRMLNodeType

A marker node type which specifies a physics rule used by particle systems.

Version:
$Revision: 1.1 $
Author:
Justin Couch

Method Summary
 boolean getEnabled()
          Get the current enabled state of this model.
 org.j3d.geom.particle.ParticleFunction getParticleFunction()
          Return the particle function implementation that this model controls.
 void setEnabled(boolean state)
          Set the enabled state of the Physics model.
 
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

getParticleFunction

public org.j3d.geom.particle.ParticleFunction getParticleFunction()
Return the particle function implementation that this model controls. May not be available until after setupFinished() is called.

Returns:
The current function to control the system

setEnabled

public void setEnabled(boolean state)
Set the enabled state of the Physics model.

Parameters:
state - true to enable the use of this model

getEnabled

public boolean getEnabled()
Get the current enabled state of this model.

Returns:
The value of the enabled field

Xj3D VRML/X3D Code API

Copyright © 2001 - 2005 Web3D Consortium