public interface Sound extends X3DSoundNode
| Modifier and Type | Method and Description |
|---|---|
float[] |
getDirection()
Provide array of 3-tuple float results from inputOutput SFVec3f field named direction.
|
float |
getIntensity()
Provide float value within allowed range of [0,1] from inputOutput SFFloat field named intensity.
|
float[] |
getLocation()
Provide array of 3-tuple float results from inputOutput SFVec3f field named location.
|
float |
getMaxBack()
Provide float value within allowed range of [0,infinity) from inputOutput SFFloat field named maxBack.
|
float |
getMaxFront()
Provide float value within allowed range of [0,infinity) from inputOutput SFFloat field named maxFront.
|
X3DMetadataObject |
getMetadata()
Provide X3DMetadataObject instance (using a properly typed node) from inputOutput SFNode field metadata.
|
float |
getMinBack()
Provide float value within allowed range of [0,infinity) from inputOutput SFFloat field named minBack.
|
float |
getMinFront()
Provide float value within allowed range of [0,infinity) from inputOutput SFFloat field named minFront.
|
float |
getPriority()
Provide float value within allowed range of [0,1] from inputOutput SFFloat field named priority.
|
X3DSoundSourceNode |
getSource()
Provide X3DSoundSourceNode instance (using a properly typed node) from inputOutput SFNode field source.
|
boolean |
getSpatialize()
Provide boolean value from initializeOnly SFBool field named spatialize.
|
Sound |
setCssClass(java.lang.String newValue)
Assign String value to inputOutput SFString field named class.
|
Sound |
setDEF(java.lang.String newValue)
Assign String value to inputOutput SFString field named DEF.
|
Sound |
setDirection(float[] newValue)
Assign 3-tuple float array to inputOutput SFVec3f field named direction.
|
Sound |
setIntensity(float newValue)
Assign float value within allowed range of [0,1] to inputOutput SFFloat field named intensity.
|
Sound |
setLocation(float[] newValue)
Assign 3-tuple float array to inputOutput SFVec3f field named location.
|
Sound |
setMaxBack(float newValue)
Assign float value within allowed range of [0,infinity) to inputOutput SFFloat field named maxBack.
|
Sound |
setMaxFront(float newValue)
Assign float value within allowed range of [0,infinity) to inputOutput SFFloat field named maxFront.
|
Sound |
setMetadata(X3DMetadataObject newValue)
Assign X3DMetadataObject instance (using a properly typed node) to inputOutput SFNode field metadata.
|
Sound |
setMinBack(float newValue)
Assign float value within allowed range of [0,infinity) to inputOutput SFFloat field named minBack.
|
Sound |
setMinFront(float newValue)
Assign float value within allowed range of [0,infinity) to inputOutput SFFloat field named minFront.
|
Sound |
setPriority(float newValue)
Assign float value within allowed range of [0,1] to inputOutput SFFloat field named priority.
|
Sound |
setSource(X3DSoundSourceNode newValue)
Assign X3DSoundSourceNode instance (using a properly typed node) to inputOutput SFNode field source.
|
Sound |
setSpatialize(boolean newValue)
Assign boolean value to initializeOnly SFBool field named spatialize.
|
Sound |
setUSE(java.lang.String newValue)
Assign String value to inputOutput SFString field named USE.
|
float[] getDirection()
Sound setDirection(float[] newValue)
newValue - is new value for the direction field.Sound - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).float getIntensity()
Sound setIntensity(float newValue)
newValue - is new value for the intensity field.Sound - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).float[] getLocation()
Sound setLocation(float[] newValue)
newValue - is new value for the location field.Sound - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).float getMaxBack()
Sound setMaxBack(float newValue)
newValue - is new value for the maxBack field.Sound - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).float getMaxFront()
Sound setMaxFront(float newValue)
newValue - is new value for the maxFront field.Sound - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).X3DMetadataObject getMetadata()
getMetadata in interface X3DChildNodegetMetadata in interface X3DNodegetMetadata in interface X3DSoundNodeSound setMetadata(X3DMetadataObject newValue)
setMetadata in interface X3DChildNodesetMetadata in interface X3DNodesetMetadata in interface X3DSoundNodenewValue - is new value for the metadata field.Sound - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).float getMinBack()
Sound setMinBack(float newValue)
newValue - is new value for the minBack field.Sound - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).float getMinFront()
Sound setMinFront(float newValue)
newValue - is new value for the minFront field.Sound - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).float getPriority()
Sound setPriority(float newValue)
newValue - is new value for the priority field.Sound - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).X3DSoundSourceNode getSource()
Sound setSource(X3DSoundSourceNode newValue)
newValue - is new value for the source field.Sound - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).boolean getSpatialize()
Sound setSpatialize(boolean newValue)
newValue - is new value for the spatialize field.Sound - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).Sound setDEF(java.lang.String newValue)
setDEF in interface X3DChildNodesetDEF in interface X3DNodesetDEF in interface X3DSoundNodenewValue - is new value for the DEF field.Sound - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).Sound setUSE(java.lang.String newValue)
USE node is still an independent object, with the USE value matching the DEF value in the preceding object.
setUSE() method on this node resets all other fields to their default values (except for containerField) and also releases all child nodes.setUSE in interface X3DChildNodesetUSE in interface X3DNodesetUSE in interface X3DSoundNodenewValue - is new value for the USE field.Sound - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).Sound setCssClass(java.lang.String newValue)
setCssClass in interface X3DChildNodesetCssClass in interface X3DNodesetCssClass in interface X3DSoundNodenewValue - is new value for the class field.Sound - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).Copyright ©2005-2017 Web3D Consortium under an open-source license, free for any use. Feedback is welcome.