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 TypeMethodDescriptionvoid
getDirection
(float[] val) Return the direction value in the argument float[]float
Return the intensity float value.void
getLocation
(float[] val) Return the location value in the argument float[]float
Return the maxBack float value.float
Return the maxFront float value.float
Return the minBack float value.float
Return the minFront float value.float
Return the priority float value.Return the source X3DNode value.boolean
Return the spatialize boolean value.void
setDirection
(float[] val) Set the direction field.void
setIntensity
(float val) Set the intensity field.void
setLocation
(float[] val) Set the location field.void
setMaxBack
(float val) Set the maxBack field.void
setMaxFront
(float val) Set the maxFront field.void
setMinBack
(float val) Set the minBack field.void
setMinFront
(float val) Set the minFront field.void
setPriority
(float val) Set the priority field.void
Set the source field.void
setSpatialize
(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, toString
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods 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:
getDirection
in interfaceSound
- Parameters:
val
- The float[] to initialize.
-
setDirection
public void setDirection(float[] val) Set the direction field.- Specified by:
setDirection
in interfaceSound
- Parameters:
val
- The float[] to set.
-
getIntensity
public float getIntensity()Return the intensity float value.- Specified by:
getIntensity
in interfaceSound
- Returns:
- The intensity float value.
-
setIntensity
public void setIntensity(float val) Set the intensity field.- Specified by:
setIntensity
in interfaceSound
- Parameters:
val
- The float to set.
-
getLocation
public void getLocation(float[] val) Return the location value in the argument float[]- Specified by:
getLocation
in interfaceSound
- Parameters:
val
- The float[] to initialize.
-
setLocation
public void setLocation(float[] val) Set the location field.- Specified by:
setLocation
in interfaceSound
- Parameters:
val
- The float[] to set.
-
getMaxBack
public float getMaxBack()Return the maxBack float value.- Specified by:
getMaxBack
in interfaceSound
- Returns:
- The maxBack float value.
-
setMaxBack
public void setMaxBack(float val) Set the maxBack field.- Specified by:
setMaxBack
in interfaceSound
- Parameters:
val
- The float to set.
-
getMaxFront
public float getMaxFront()Return the maxFront float value.- Specified by:
getMaxFront
in interfaceSound
- Returns:
- The maxFront float value.
-
setMaxFront
public void setMaxFront(float val) Set the maxFront field.- Specified by:
setMaxFront
in interfaceSound
- Parameters:
val
- The float to set.
-
getMinBack
public float getMinBack()Return the minBack float value.- Specified by:
getMinBack
in interfaceSound
- Returns:
- The minBack float value.
-
setMinBack
public void setMinBack(float val) Set the minBack field.- Specified by:
setMinBack
in interfaceSound
- Parameters:
val
- The float to set.
-
getMinFront
public float getMinFront()Return the minFront float value.- Specified by:
getMinFront
in interfaceSound
- Returns:
- The minFront float value.
-
setMinFront
public void setMinFront(float val) Set the minFront field.- Specified by:
setMinFront
in interfaceSound
- Parameters:
val
- The float to set.
-
getPriority
public float getPriority()Return the priority float value.- Specified by:
getPriority
in interfaceSound
- Returns:
- The priority float value.
-
setPriority
public void setPriority(float val) Set the priority field.- Specified by:
setPriority
in interfaceSound
- Parameters:
val
- The float to set.
-
getSource
-
setSource
-
getSpatialize
public boolean getSpatialize()Return the spatialize boolean value.- Specified by:
getSpatialize
in interfaceSound
- Returns:
- The spatialize boolean value.
-
setSpatialize
public void setSpatialize(boolean val) Set the spatialize field.- Specified by:
setSpatialize
in interfaceSound
- Parameters:
val
- The boolean to set.
-