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 TypeMethodDescriptionvoidgetGravity(float[] val) Return the gravity value in the argument float[]voidsetGravity(float[] val) Set the gravity field.Methods inherited from interface org.web3d.x3d.sai.X3DNode
dispose, getField, getFieldDefinitions, getMetadata, getNodeName, getNodeType, isRealized, realize, setMetadataMethods 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.
-