Package org.xj3d.sai.internal.node.sound
Class SAISound
java.lang.Object
org.web3d.vrml.scripting.sai.BaseNode
org.xj3d.sai.internal.node.sound.SAISound
- All Implemented Interfaces:
Sound,X3DChildNode,X3DNode,X3DSoundNode
A concrete implementation of the Sound node interface
- Version:
- $Revision: 1.1 $
- Author:
- Rex Melton
-
Field Summary
Fields inherited from class org.web3d.vrml.scripting.sai.BaseNode
accessPermitted, fieldQueue, fieldRefMap, realNode -
Constructor Summary
ConstructorsConstructorDescriptionSAISound(VRMLNodeType node, ReferenceQueue<X3DField> refQueue, FieldFactory fac, FieldAccessListener fal, BaseNodeFactory bnf) Constructor -
Method Summary
Modifier and TypeMethodDescriptionvoidgetDirection(float[] val) Return the direction value in the argument float[]floatReturn the intensity float value.voidgetLocation(float[] val) Return the location value in the argument float[]floatReturn the maxBack float value.floatReturn the maxFront float value.floatReturn the minBack float value.floatReturn the minFront float value.floatReturn the priority float value.Return the source X3DNode value.booleanReturn the spatialize boolean value.voidsetDirection(float[] val) Set the direction field.voidsetIntensity(float val) Set the intensity field.voidsetLocation(float[] val) Set the location field.voidsetMaxBack(float val) Set the maxBack field.voidsetMaxFront(float val) Set the maxFront field.voidsetMinBack(float val) Set the minBack field.voidsetMinFront(float val) Set the minFront field.voidsetPriority(float val) Set the priority field.voidSet the source field.voidsetSpatialize(boolean val) Set the spatialize field.Methods inherited from class org.web3d.vrml.scripting.sai.BaseNode
checkAccess, dispose, equals, getField, getFieldDefinitions, getMetadata, getNodeName, getNodeType, hashCode, isRealized, realize, setMetadata, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.web3d.x3d.sai.X3DNode
dispose, getField, getFieldDefinitions, getMetadata, getNodeName, getNodeType, isRealized, realize, setMetadata
-
Constructor Details
-
SAISound
public SAISound(VRMLNodeType node, ReferenceQueue<X3DField> refQueue, FieldFactory fac, FieldAccessListener fal, BaseNodeFactory bnf) Constructor- Parameters:
bnf-
-
-
Method Details
-
getDirection
public void getDirection(float[] val) Return the direction value in the argument float[]- Specified by:
getDirectionin interfaceSound- Parameters:
val- The float[] to initialize.
-
setDirection
public void setDirection(float[] val) Set the direction field.- Specified by:
setDirectionin interfaceSound- Parameters:
val- The float[] to set.
-
getIntensity
public float getIntensity()Return the intensity float value.- Specified by:
getIntensityin interfaceSound- Returns:
- The intensity float value.
-
setIntensity
public void setIntensity(float val) Set the intensity field.- Specified by:
setIntensityin interfaceSound- Parameters:
val- The float to set.
-
getLocation
public void getLocation(float[] val) Return the location value in the argument float[]- Specified by:
getLocationin interfaceSound- Parameters:
val- The float[] to initialize.
-
setLocation
public void setLocation(float[] val) Set the location field.- Specified by:
setLocationin interfaceSound- Parameters:
val- The float[] to set.
-
getMaxBack
public float getMaxBack()Return the maxBack float value.- Specified by:
getMaxBackin interfaceSound- Returns:
- The maxBack float value.
-
setMaxBack
public void setMaxBack(float val) Set the maxBack field.- Specified by:
setMaxBackin interfaceSound- Parameters:
val- The float to set.
-
getMaxFront
public float getMaxFront()Return the maxFront float value.- Specified by:
getMaxFrontin interfaceSound- Returns:
- The maxFront float value.
-
setMaxFront
public void setMaxFront(float val) Set the maxFront field.- Specified by:
setMaxFrontin interfaceSound- Parameters:
val- The float to set.
-
getMinBack
public float getMinBack()Return the minBack float value.- Specified by:
getMinBackin interfaceSound- Returns:
- The minBack float value.
-
setMinBack
public void setMinBack(float val) Set the minBack field.- Specified by:
setMinBackin interfaceSound- Parameters:
val- The float to set.
-
getMinFront
public float getMinFront()Return the minFront float value.- Specified by:
getMinFrontin interfaceSound- Returns:
- The minFront float value.
-
setMinFront
public void setMinFront(float val) Set the minFront field.- Specified by:
setMinFrontin interfaceSound- Parameters:
val- The float to set.
-
getPriority
public float getPriority()Return the priority float value.- Specified by:
getPriorityin interfaceSound- Returns:
- The priority float value.
-
setPriority
public void setPriority(float val) Set the priority field.- Specified by:
setPriorityin interfaceSound- Parameters:
val- The float to set.
-
getSource
-
setSource
-
getSpatialize
public boolean getSpatialize()Return the spatialize boolean value.- Specified by:
getSpatializein interfaceSound- Returns:
- The spatialize boolean value.
-
setSpatialize
public void setSpatialize(boolean val) Set the spatialize field.- Specified by:
setSpatializein interfaceSound- Parameters:
val- The boolean to set.
-