Interface GravityPhysicsModel
- All Superinterfaces:
X3DNode
,X3DParticlePhysicsModelNode
- All Known Implementing Classes:
SAIGravityPhysicsModel
,SAIGravityPhysicsModel
Defines the requirements of an X3D GravityPhysicsModel node
- Version:
- $Revision: 1.1 $
- Author:
- Rex Melton
-
Method Summary
Modifier and TypeMethodDescriptionvoid
getGravity
(float[] val) Return the gravity value in the argument float[]void
setGravity
(float[] val) Set the gravity field.Methods inherited from interface org.web3d.x3d.sai.X3DNode
dispose, getField, getFieldDefinitions, getMetadata, getNodeName, getNodeType, isRealized, realize, setMetadata
Methods inherited from interface org.web3d.x3d.sai.X3DParticlePhysicsModelNode
getEnabled, setEnabled
-
Method Details
-
getGravity
void getGravity(float[] val) Return the gravity value in the argument float[]- Parameters:
val
- The float[] to initialize.
-
setGravity
void setGravity(float[] val) Set the gravity field.- Parameters:
val
- The float[] to set.
-