| Package | Description |
|---|---|
| org.web3d.x3d.jsail.Sound |
The Sound component defines how sound is delivered to an X3D world as well as how
sounds are accessed.
|
| Modifier and Type | Method and Description |
|---|---|
SoundObject |
SoundObject.addComments(CommentsBlock newCommentsBlock)
Add CommentsBlock to contained commentsList.
|
SoundObject |
SoundObject.addComments(java.lang.String newComment)
Add comment as String to contained commentsList.
|
SoundObject |
SoundObject.addComments(java.lang.String[] newComments)
Add comments as String[] array to contained commentsList.
|
SoundObject |
SoundObject.clearMetadata()
Utility method to clear SFNode value of metadata field.
|
SoundObject |
SoundObject.clearSource()
Utility method to clear SFNode value of source field.
|
SoundObject |
SoundObject.setCssClass(SFStringObject newValue)
Assign typed object value to SFString cssClass field, similar to
setCssClass(String). |
SoundObject |
SoundObject.setCssClass(java.lang.String newValue)
Assign String value to inputOutput SFString field named class.
|
SoundObject |
SoundObject.setDEF(SFStringObject newValue)
Assign typed object value to SFString DEF field, similar to
setDEF(String). |
SoundObject |
SoundObject.setDEF(java.lang.String newValue)
Assign String value to inputOutput SFString field named DEF.
|
SoundObject |
SoundObject.setDirection(float[] newValue)
Assign 3-tuple float array to inputOutput SFVec3f field named direction.
|
SoundObject |
SoundObject.setDirection(float x,
float y,
float z)
Assign values to SFVec3f direction field, similar to
setDirection(float[]). |
SoundObject |
SoundObject.setDirection(SFVec3fObject newValue)
Assign typed object value to SFVec3f direction field, similar to
setDirection(float[]). |
SoundObject |
SoundObject.setIntensity(float newValue)
Assign float value within allowed range of [0,1] to inputOutput SFFloat field named intensity.
|
SoundObject |
SoundObject.setIntensity(SFFloatObject newValue)
Assign typed object value to SFFloat intensity field, similar to
setIntensity(float). |
SoundObject |
SoundObject.setIS(ISObject newValue)
Assign field named IS for establishing IS/connect field connections between ProtoInterface fields and internal ProtoBody nodes.
|
SoundObject |
SoundObject.setLocation(float[] newValue)
Assign 3-tuple float array to inputOutput SFVec3f field named location.
|
SoundObject |
SoundObject.setLocation(float x,
float y,
float z)
Assign values to SFVec3f location field, similar to
setLocation(float[]). |
SoundObject |
SoundObject.setLocation(SFVec3fObject newValue)
Assign typed object value to SFVec3f location field, similar to
setLocation(float[]). |
SoundObject |
SoundObject.setMaxBack(float newValue)
Assign float value within allowed range of [0,infinity) to inputOutput SFFloat field named maxBack.
|
SoundObject |
SoundObject.setMaxBack(SFFloatObject newValue)
Assign typed object value to SFFloat maxBack field, similar to
setMaxBack(float). |
SoundObject |
SoundObject.setMaxFront(float newValue)
Assign float value within allowed range of [0,infinity) to inputOutput SFFloat field named maxFront.
|
SoundObject |
SoundObject.setMaxFront(SFFloatObject newValue)
Assign typed object value to SFFloat maxFront field, similar to
setMaxFront(float). |
SoundObject |
SoundObject.setMetadata(ProtoInstanceObject newValue)
Assign ProtoInstance (using a properly typed node) to inputOutput SFNode field metadata.
|
SoundObject |
SoundObject.setMetadata(X3DMetadataObject newValue)
Assign X3DMetadataObject instance (using a properly typed node) to inputOutput SFNode field metadata.
|
SoundObject |
SoundObject.setMinBack(float newValue)
Assign float value within allowed range of [0,infinity) to inputOutput SFFloat field named minBack.
|
SoundObject |
SoundObject.setMinBack(SFFloatObject newValue)
Assign typed object value to SFFloat minBack field, similar to
setMinBack(float). |
SoundObject |
SoundObject.setMinFront(float newValue)
Assign float value within allowed range of [0,infinity) to inputOutput SFFloat field named minFront.
|
SoundObject |
SoundObject.setMinFront(SFFloatObject newValue)
Assign typed object value to SFFloat minFront field, similar to
setMinFront(float). |
SoundObject |
SoundObject.setPriority(float newValue)
Assign float value within allowed range of [0,1] to inputOutput SFFloat field named priority.
|
SoundObject |
SoundObject.setPriority(SFFloatObject newValue)
Assign typed object value to SFFloat priority field, similar to
setPriority(float). |
SoundObject |
SoundObject.setSource(ProtoInstanceObject newValue)
Assign ProtoInstance (using a properly typed node) to inputOutput SFNode field source.
|
SoundObject |
SoundObject.setSource(X3DSoundSourceNode newValue)
Assign X3DSoundSourceNode instance (using a properly typed node) to inputOutput SFNode field source.
|
SoundObject |
SoundObject.setSpatialize(boolean newValue)
Assign boolean value to initializeOnly SFBool field named spatialize.
|
SoundObject |
SoundObject.setSpatialize(SFBoolObject newValue)
Assign typed object value to SFBool spatialize field, similar to
setSpatialize(boolean). |
SoundObject |
SoundObject.setUSE(SFStringObject newValue)
Assign typed object value to SFString USE field, similar to
setUSE(String). |
SoundObject |
SoundObject.setUSE(SoundObject DEFnode)
Assign a USE reference to another DEF node of same node type, similar to
setUSE(String). |
SoundObject |
SoundObject.setUSE(java.lang.String newValue)
Assign String value to inputOutput SFString field named USE.
|
| Modifier and Type | Method and Description |
|---|---|
SoundObject |
SoundObject.setUSE(SoundObject DEFnode)
Assign a USE reference to another DEF node of same node type, similar to
setUSE(String). |
Copyright ©2005-2017 Web3D Consortium under an open-source license, free for any use. Feedback is welcome.