public interface X3DShaderNode extends X3DAppearanceChildNode
| Modifier and Type | Method and Description |
|---|---|
boolean |
getIsSelected()
Provide boolean value from outputOnly SFBool field named isSelected.
|
boolean |
getIsValid()
Provide boolean value from outputOnly SFBool field named isValid.
|
java.lang.String |
getLanguage()
Provide String enumeration value ['Cg'|'GLSL'|'HLSL'|'etc.'] from initializeOnly SFString field named language.
|
X3DMetadataObject |
getMetadata()
Provide X3DMetadataObject instance (using a properly typed node) from inputOutput SFNode field metadata.
|
X3DShaderNode |
setActivate(boolean newValue)
Assign boolean value to inputOnly SFBool field named activate.
|
X3DShaderNode |
setCssClass(java.lang.String newValue)
Assign String value to inputOutput SFString field named class.
|
X3DShaderNode |
setDEF(java.lang.String newValue)
Assign String value to inputOutput SFString field named DEF.
|
X3DShaderNode |
setLanguage(java.lang.String newValue)
Assign String enumeration value ("Cg"|"GLSL"|"HLSL") ['Cg'|'GLSL'|'HLSL'|'etc.'] to initializeOnly SFString field named language.
|
X3DShaderNode |
setMetadata(X3DMetadataObject newValue)
Assign X3DMetadataObject instance (using a properly typed node) to inputOutput SFNode field metadata.
|
X3DShaderNode |
setUSE(java.lang.String newValue)
Assign String value to inputOutput SFString field named USE.
|
X3DShaderNode setActivate(boolean newValue)
newValue - is new value for the activate field.X3DShaderNode - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).boolean getIsSelected()
boolean getIsValid()
java.lang.String getLanguage()
X3DShaderNode setLanguage(java.lang.String newValue)
newValue - is new value for the language field.X3DShaderNode - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).X3DMetadataObject getMetadata()
getMetadata in interface X3DAppearanceChildNodegetMetadata in interface X3DNodeX3DShaderNode setMetadata(X3DMetadataObject newValue)
setMetadata in interface X3DAppearanceChildNodesetMetadata in interface X3DNodenewValue - is new value for the metadata field.X3DShaderNode - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).X3DShaderNode setDEF(java.lang.String newValue)
setDEF in interface X3DAppearanceChildNodesetDEF in interface X3DNodenewValue - is new value for the DEF field.X3DShaderNode - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).X3DShaderNode 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 X3DAppearanceChildNodesetUSE in interface X3DNodenewValue - is new value for the USE field.X3DShaderNode - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).X3DShaderNode setCssClass(java.lang.String newValue)
setCssClass in interface X3DAppearanceChildNodesetCssClass in interface X3DNodenewValue - is new value for the class field.X3DShaderNode - 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.