Package org.web3d.x3d.sai.Scripting
Interface X3DScriptNode
- All Superinterfaces:
X3DChildNode,X3DNode,X3DUrlObject
- All Known Subinterfaces:
Script
- All Known Implementing Classes:
ScriptObject
public interface X3DScriptNode extends X3DChildNode, X3DUrlObject
Base type for scripting nodes (but not shader nodes).
Package hint: This interface is defined by the X3D Java Language Binding Specification for the Scene Authoring Interface (SAI).
Package hint: This interface is defined by the X3D Java Language Binding Specification for the Scene Authoring Interface (SAI).
-
Method Summary
Modifier and Type Method Description X3DMetadataObjectgetMetadata()Provide X3DMetadataObject instance (using a properly typed node) from inputOutput SFNode field metadata.java.lang.String[]getUrl()Provide array of String results from inputOutput MFString field named url.X3DScriptNodesetMetadata(X3DMetadataObject newValue)Accessor method to assign X3DMetadataObject instance (using a properly typed node) to inputOutput SFNode field metadata.X3DScriptNodesetUrl(java.lang.String[] newValue)Accessor method to assign String array to inputOutput MFString field named url.
-
Method Details
-
getMetadata
X3DMetadataObject getMetadata()Provide X3DMetadataObject instance (using a properly typed node) from inputOutput SFNode field metadata.- Specified by:
getMetadatain interfaceX3DChildNode- Specified by:
getMetadatain interfaceX3DNode- Returns:
- value of metadata field
- See Also:
- X3D Scene Authoring Hints: Metadata Nodes
-
setMetadata
Accessor method to assign X3DMetadataObject instance (using a properly typed node) to inputOutput SFNode field metadata.- Specified by:
setMetadatain interfaceX3DChildNode- Specified by:
setMetadatain interfaceX3DNode- Parameters:
newValue- is new value for the metadata field.- Returns:
X3DScriptNode- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).- See Also:
- X3D Scene Authoring Hints: Metadata Nodes
-
getUrl
java.lang.String[] getUrl()Provide array of String results from inputOutput MFString field named url.- Specified by:
getUrlin interfaceX3DUrlObject- Returns:
- value of url field
-
setUrl
Accessor method to assign String array to inputOutput MFString field named url.- Specified by:
setUrlin interfaceX3DUrlObject- Parameters:
newValue- is new value for the url field.- Returns:
X3DScriptNode- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
-