public interface AudioClip extends X3DSoundSourceNode, X3DUrlObject
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getDescription()
Provide String value from inputOutput SFString field named description.
|
double |
getDuration()
Provide double value in seconds within allowed range of [-1,infinity) from outputOnly SFTime field named duration_changed.
|
double |
getElapsedTime()
Provide double value in seconds within allowed range of [0,infinity) from outputOnly SFTime field named elapsedTime.
|
boolean |
getIsActive()
Provide boolean value from outputOnly SFBool field named isActive.
|
boolean |
getIsPaused()
Provide boolean value from outputOnly SFBool field named isPaused.
|
boolean |
getLoop()
Provide boolean value from inputOutput SFBool field named loop.
|
X3DMetadataObject |
getMetadata()
Provide X3DMetadataObject instance (using a properly typed node) from inputOutput SFNode field metadata.
|
double |
getPauseTime()
Provide double value in seconds from inputOutput SFTime field named pauseTime.
|
float |
getPitch()
Provide float value within allowed range of (0,infinity) from inputOutput SFFloat field named pitch.
|
double |
getResumeTime()
Provide double value in seconds from inputOutput SFTime field named resumeTime.
|
double |
getStartTime()
Provide double value in seconds from inputOutput SFTime field named startTime.
|
double |
getStopTime()
Provide double value in seconds from inputOutput SFTime field named stopTime.
|
java.lang.String[] |
getUrl()
Provide array of String results from inputOutput MFString field named url.
|
AudioClip |
setCssClass(java.lang.String newValue)
Assign String value to inputOutput SFString field named class.
|
AudioClip |
setDEF(java.lang.String newValue)
Assign String value to inputOutput SFString field named DEF.
|
AudioClip |
setDescription(java.lang.String newValue)
Assign String value to inputOutput SFString field named description.
|
AudioClip |
setLoop(boolean newValue)
Assign boolean value to inputOutput SFBool field named loop.
|
AudioClip |
setMetadata(X3DMetadataObject newValue)
Assign X3DMetadataObject instance (using a properly typed node) to inputOutput SFNode field metadata.
|
AudioClip |
setPauseTime(double newValue)
Assign double value in seconds to inputOutput SFTime field named pauseTime.
|
AudioClip |
setPitch(float newValue)
Assign float value within allowed range of (0,infinity) to inputOutput SFFloat field named pitch.
|
AudioClip |
setResumeTime(double newValue)
Assign double value in seconds to inputOutput SFTime field named resumeTime.
|
AudioClip |
setStartTime(double newValue)
Assign double value in seconds to inputOutput SFTime field named startTime.
|
AudioClip |
setStopTime(double newValue)
Assign double value in seconds to inputOutput SFTime field named stopTime.
|
AudioClip |
setUrl(java.lang.String[] newValue)
Assign String array to inputOutput MFString field named url.
|
AudioClip |
setUSE(java.lang.String newValue)
Assign String value to inputOutput SFString field named USE.
|
java.lang.String getDescription()
getDescription in interface X3DSoundSourceNodeAudioClip setDescription(java.lang.String newValue)
setDescription in interface X3DSoundSourceNodenewValue - is new value for the description field.AudioClip - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).double getDuration()
getDuration in interface X3DSoundSourceNodedouble getElapsedTime()
getElapsedTime in interface X3DSoundSourceNodegetElapsedTime in interface X3DTimeDependentNodeboolean getIsActive()
getIsActive in interface X3DSoundSourceNodegetIsActive in interface X3DTimeDependentNodeboolean getIsPaused()
getIsPaused in interface X3DSoundSourceNodegetIsPaused in interface X3DTimeDependentNodeboolean getLoop()
getLoop in interface X3DSoundSourceNodegetLoop in interface X3DTimeDependentNodeAudioClip setLoop(boolean newValue)
setLoop in interface X3DSoundSourceNodesetLoop in interface X3DTimeDependentNodenewValue - is new value for the loop field.AudioClip - 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 X3DSoundSourceNodegetMetadata in interface X3DTimeDependentNodeAudioClip setMetadata(X3DMetadataObject newValue)
setMetadata in interface X3DChildNodesetMetadata in interface X3DNodesetMetadata in interface X3DSoundSourceNodesetMetadata in interface X3DTimeDependentNodenewValue - is new value for the metadata field.AudioClip - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).double getPauseTime()
getPauseTime in interface X3DSoundSourceNodegetPauseTime in interface X3DTimeDependentNodeAudioClip setPauseTime(double newValue)
setPauseTime in interface X3DSoundSourceNodesetPauseTime in interface X3DTimeDependentNodenewValue - is new value for the pauseTime field.AudioClip - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).float getPitch()
getPitch in interface X3DSoundSourceNodeAudioClip setPitch(float newValue)
setPitch in interface X3DSoundSourceNodenewValue - is new value for the pitch field.AudioClip - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).double getResumeTime()
getResumeTime in interface X3DSoundSourceNodegetResumeTime in interface X3DTimeDependentNodeAudioClip setResumeTime(double newValue)
setResumeTime in interface X3DSoundSourceNodesetResumeTime in interface X3DTimeDependentNodenewValue - is new value for the resumeTime field.AudioClip - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).double getStartTime()
getStartTime in interface X3DSoundSourceNodegetStartTime in interface X3DTimeDependentNodeAudioClip setStartTime(double newValue)
setStartTime in interface X3DSoundSourceNodesetStartTime in interface X3DTimeDependentNodenewValue - is new value for the startTime field.AudioClip - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).double getStopTime()
getStopTime in interface X3DSoundSourceNodegetStopTime in interface X3DTimeDependentNodeAudioClip setStopTime(double newValue)
setStopTime in interface X3DSoundSourceNodesetStopTime in interface X3DTimeDependentNodenewValue - is new value for the stopTime field.AudioClip - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).java.lang.String[] getUrl()
getUrl in interface X3DUrlObjectAudioClip setUrl(java.lang.String[] newValue)
setUrl in interface X3DUrlObjectnewValue - is new value for the url field.AudioClip - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).AudioClip setDEF(java.lang.String newValue)
setDEF in interface X3DChildNodesetDEF in interface X3DNodesetDEF in interface X3DSoundSourceNodesetDEF in interface X3DTimeDependentNodenewValue - is new value for the DEF field.AudioClip - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).AudioClip 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 X3DSoundSourceNodesetUSE in interface X3DTimeDependentNodenewValue - is new value for the USE field.AudioClip - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).AudioClip setCssClass(java.lang.String newValue)
setCssClass in interface X3DChildNodesetCssClass in interface X3DNodesetCssClass in interface X3DSoundSourceNodesetCssClass in interface X3DTimeDependentNodenewValue - is new value for the class field.AudioClip - 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.