public interface ComposedShader extends X3DShaderNode, X3DProgrammableShaderObject
| Modifier and Type | Method and Description |
|---|---|
void |
addParts(X3DNode[] newValue)
Add array of child parts nodes to array of existing nodes (if any).
|
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.
|
X3DNode[] |
getParts()
Provide array of X3DNode results (using an array consisting of properly typed nodes or ProtoInstanceObjects) from inputOutput MFNode field parts.
|
ComposedShader |
setActivate(boolean newValue)
Assign boolean value to inputOnly SFBool field named activate.
|
ComposedShader |
setCssClass(java.lang.String newValue)
Assign String value to inputOutput SFString field named class.
|
ComposedShader |
setDEF(java.lang.String newValue)
Assign String value to inputOutput SFString field named DEF.
|
ComposedShader |
setLanguage(java.lang.String newValue)
Assign String enumeration value ("Cg"|"GLSL"|"HLSL") ['Cg'|'GLSL'|'HLSL'|'etc.'] to initializeOnly SFString field named language.
|
ComposedShader |
setMetadata(X3DMetadataObject newValue)
Assign X3DMetadataObject instance (using a properly typed node) to inputOutput SFNode field metadata.
|
void |
setParts(X3DNode newValue)
Set single child parts node, replacing prior array of existing nodes (if any).
|
ComposedShader |
setParts(X3DNode[] newValue)
Assign X3DNode array (using an array consisting of properly typed nodes or ProtoInstanceObjects) to inputOutput MFNode field parts.
|
ComposedShader |
setUSE(java.lang.String newValue)
Assign String value to inputOutput SFString field named USE.
|
ComposedShader setActivate(boolean newValue)
setActivate in interface X3DShaderNodenewValue - is new value for the activate field.ComposedShader - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).boolean getIsSelected()
getIsSelected in interface X3DShaderNodeboolean getIsValid()
getIsValid in interface X3DShaderNodejava.lang.String getLanguage()
getLanguage in interface X3DShaderNodeComposedShader setLanguage(java.lang.String newValue)
setLanguage in interface X3DShaderNodenewValue - is new value for the language field.ComposedShader - 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 X3DNodegetMetadata in interface X3DShaderNodeComposedShader setMetadata(X3DMetadataObject newValue)
setMetadata in interface X3DAppearanceChildNodesetMetadata in interface X3DNodesetMetadata in interface X3DShaderNodenewValue - is new value for the metadata field.ComposedShader - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).X3DNode[] getParts()
ShaderPartObjectComposedShader setParts(X3DNode[] newValue)
newValue - is new value for the parts field.ComposedShader - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).void addParts(X3DNode[] newValue)
newValue - is new value array to be appended the parts field.void setParts(X3DNode newValue)
newValue - is new node for the parts fieldComposedShader setDEF(java.lang.String newValue)
setDEF in interface X3DAppearanceChildNodesetDEF in interface X3DNodesetDEF in interface X3DProgrammableShaderObjectsetDEF in interface X3DShaderNodenewValue - is new value for the DEF field.ComposedShader - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).ComposedShader 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 X3DNodesetUSE in interface X3DProgrammableShaderObjectsetUSE in interface X3DShaderNodenewValue - is new value for the USE field.ComposedShader - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).ComposedShader setCssClass(java.lang.String newValue)
setCssClass in interface X3DAppearanceChildNodesetCssClass in interface X3DNodesetCssClass in interface X3DProgrammableShaderObjectsetCssClass in interface X3DShaderNodenewValue - is new value for the class field.ComposedShader - 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.