public interface ShaderPart extends X3DNode, X3DUrlObject
| Modifier and Type | Method and Description |
|---|---|
X3DMetadataObject |
getMetadata()
Provide X3DMetadataObject instance (using a properly typed node) from inputOutput SFNode field metadata.
|
java.lang.String |
getType()
Provide String enumeration value ['VERTEX'|'FRAGMENT'|'etc.'] from inputOutput SFString field named type.
|
java.lang.String[] |
getUrl()
Provide array of String results from inputOutput MFString field named url.
|
ShaderPart |
setCssClass(java.lang.String newValue)
Assign String value to inputOutput SFString field named class.
|
ShaderPart |
setDEF(java.lang.String newValue)
Assign String value to inputOutput SFString field named DEF.
|
ShaderPart |
setMetadata(X3DMetadataObject newValue)
Assign X3DMetadataObject instance (using a properly typed node) to inputOutput SFNode field metadata.
|
ShaderPart |
setType(java.lang.String newValue)
Assign String enumeration value ("VERTEX"|"FRAGMENT") ['VERTEX'|'FRAGMENT'|'etc.'] to inputOutput SFString field named type.
|
ShaderPart |
setUrl(java.lang.String[] newValue)
Assign String array to inputOutput MFString field named url.
|
ShaderPart |
setUSE(java.lang.String newValue)
Assign String value to inputOutput SFString field named USE.
|
X3DMetadataObject getMetadata()
getMetadata in interface X3DNodeShaderPart setMetadata(X3DMetadataObject newValue)
setMetadata in interface X3DNodenewValue - is new value for the metadata field.ShaderPart - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).java.lang.String getType()
ShaderPart setType(java.lang.String newValue)
newValue - is new value for the type field.ShaderPart - 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 X3DUrlObjectShaderPart setUrl(java.lang.String[] newValue)
setUrl in interface X3DUrlObjectnewValue - is new value for the url field.ShaderPart - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).ShaderPart setDEF(java.lang.String newValue)
setDEF in interface X3DNodenewValue - is new value for the DEF field.ShaderPart - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).ShaderPart 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 X3DNodenewValue - is new value for the USE field.ShaderPart - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).ShaderPart setCssClass(java.lang.String newValue)
setCssClass in interface X3DNodenewValue - is new value for the class field.ShaderPart - 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.