| |
|
| java.lang.Object javax.media.j3d.IndexedObject javax.media.j3d.SceneGraphObjectRetained javax.media.j3d.NodeRetained javax.media.j3d.LeafRetained javax.media.j3d.SoundRetained javax.media.j3d.PointSoundRetained
All known Subclasses: javax.media.j3d.ConeSoundRetained,
PointSoundRetained | class PointSoundRetained extends SoundRetained (Code) | | The PointSoundRetained node (a sub-class of the SoundRetained node) defines
a spatially-located sound source whose waves radiate uniformly in all
directions from a given location in space.
|
attenuationDistance | float[] attenuationDistance(Code) | | |
attenuationGain | float[] attenuationGain(Code) | | |
position | Point3f position(Code) | | Origin of Sound source in Listener's space.
|
xformPosition | Point3f xformPosition(Code) | | The transformed position of this sound
|
PointSoundRetained | PointSoundRetained()(Code) | | |
getDistanceGain | void getDistanceGain(Point2f[] attenuation)(Code) | | Retieves sound's distance attenuation
Put the contents of the two separate distance and gain arrays into
an array of Point2f.
Parameters: attenuation - containing distance attenuation pairs |
getDistanceGain | void getDistanceGain(float[] distance, float[] gain)(Code) | | Retieves this sound's attenuation distance and gain arrays, returned in
separate arrays.
Parameters: distance - array of monotonically-increasing floats. Parameters: gain - array of amplitude scale factors associated with distances. |
getDistanceGainLength | int getDistanceGainLength()(Code) | | Gets this sound's distance attenuation array length
distance gain attenuation array length |
getPosition | void getPosition(Point3f position)(Code) | | Retrieves this sound's location and places it in the vector provided.
Parameters: position - the variable to receive the location vector |
getXformPosition | void getXformPosition(Point3f position)(Code) | | |
setDistanceGain | void setDistanceGain(Point2f[] attenuation)(Code) | | Sets this sound's distance gain attenuation - where gain scale factor
is applied to sound based on distance listener is from sound source.
Parameters: distance - attenuation pairs of (distance,gain-scale-factor) |
setDistanceGain | void setDistanceGain(float[] distance, float[] gain)(Code) | | Sets this sound's distance gain given separate arrays.
applied to sound based on distance listener is from sound source.
Parameters: distance - array of monotonically-increasing floats. Parameters: gain - array of amplitude scale factors associated with distances. |
setPosition | void setPosition(Point3f position)(Code) | | Sets this sound's location from the vector provided.
Parameters: position - the new location |
setPosition | void setPosition(float x, float y, float z)(Code) | | Sets this sound's position from the three values provided.
Parameters: x - the new x position Parameters: y - the new y position Parameters: z - the new z position |
updateMirrorObject | void updateMirrorObject(Object[] objs)(Code) | | This updates the positional fields of point sound.
Distance gain attenuation field not maintained in mirror object.
|
updateTransformChange | void updateTransformChange()(Code) | | |
Methods inherited from javax.media.j3d.NodeRetained | void clearLive(SetLiveState s)(Code)(Java Doc) void computeCombineBounds(Bounds bounds)(Code)(Java Doc) void computeNonLiveLocalToVworld(Transform3D t, Node caller)(Code)(Java Doc) void dirtyBoundsCache()(Code)(Java Doc) void doSetLive(SetLiveState s)(Code)(Java Doc) public int equal(NnuId obj)(Code)(Java Doc) void findCollidableFlags(boolean collide)(Code)(Java Doc) void findPickableFlags(boolean pick)(Code)(Java Doc) void findTransformLevels(int transformLevels)(Code)(Java Doc) Bounds getBounds()(Code)(Java Doc) boolean getBoundsAutoCompute()(Code)(Java Doc) boolean getCollidable()(Code)(Java Doc) Transform3D getCurrentLocalToVworld()(Code)(Java Doc) Transform3D getCurrentLocalToVworld(int index)(Code)(Java Doc) Transform3D getCurrentLocalToVworld(HashKey key)(Code)(Java Doc) Bounds getEffectiveBounds()(Code)(Java Doc) public int getId()(Code)(Java Doc) Transform3D getLastLocalToVworld()(Code)(Java Doc) Transform3D getLastLocalToVworld(int index)(Code)(Java Doc) Transform3D getLastLocalToVworld(HashKey key)(Code)(Java Doc) Bounds getLocalBounds(Bounds bounds)(Code)(Java Doc) void getLocalToVworld(Transform3D t)(Code)(Java Doc) void getLocalToVworld(SceneGraphPath path, Transform3D t)(Code)(Java Doc) void getLocalToVworld(Transform3D t, HashKey key)(Code)(Java Doc) Locale getLocale()(Code)(Java Doc) NodeRetained getParent()(Code)(Java Doc) boolean getPickable()(Code)(Java Doc) VirtualUniverse getVirtualUniverse()(Code)(Java Doc) boolean isStatic()(Code)(Java Doc) void merge(CompileState compState)(Code)(Java Doc) void mergeTransform(TransformGroupRetained xform)(Code)(Java Doc) void notifySceneGraphChanged(boolean globalTraverse)(Code)(Java Doc) int[] processViewSpecificInfo(int mode, HashKey k, View v, ArrayList vsgList, int[] keyList, ArrayList leafList)(Code)(Java Doc) void recombineAbove()(Code)(Java Doc) void removeNodeData(SetLiveState s)(Code)(Java Doc) void searchGeometryAtoms(UnorderList list)(Code)(Java Doc) void setAuxData(SetLiveState s, int index, int hkIndex)(Code)(Java Doc) void setBounds(Bounds bounds)(Code)(Java Doc) void setBoundsAutoCompute(boolean autoCompute)(Code)(Java Doc) void setCollidable(boolean collidable)(Code)(Java Doc) void setLive(SetLiveState s)(Code)(Java Doc) void setNodeData(SetLiveState s)(Code)(Java Doc) void setParent(NodeRetained parent)(Code)(Java Doc) void setPickable(boolean pickable)(Code)(Java Doc) void transformBounds(SceneGraphPath path, Bounds bound)(Code)(Java Doc) void updateCollidable(HashKey keys, boolean collide)(Code)(Java Doc) synchronized void updateLocalToVworld()(Code)(Java Doc) void updatePickable(HashKey pickKeys, boolean pick)(Code)(Java Doc)
|
Fields inherited from javax.media.j3d.IndexedObject | int[][] listIdx(Code)(Java Doc)
|
|
|
|