public interface MultiTexture extends X3DTextureNode
| Modifier and Type | Method and Description |
|---|---|
void |
addTexture(X3DNode[] newValue)
Add array of child texture nodes to array of existing nodes (if any).
|
float |
getAlpha()
Provide float value within allowed range of [0,1] from inputOutput SFFloat field named alpha.
|
float[] |
getColor()
Provide array of 3-tuple float results using RGB values [0..1] using RGB values [0..1] from inputOutput SFColor field named color.
|
java.lang.String[] |
getFunction()
Provide array of String enumeration results ['"COMPLEMENT"'|'"ALPHAREPLICATE"'|'"etc."'] from inputOutput MFString field named function.
|
X3DMetadataObject |
getMetadata()
Provide X3DMetadataObject instance (using a properly typed node) from inputOutput SFNode field metadata.
|
java.lang.String[] |
getMode()
Provide array of String enumeration results ['"ADD"'|'"ADDSIGNED"'|'"ADDSIGNED2X"'|'"ADDSMOOTH"'|'"BLENDCURRENTALPHA"'|'"BLENDDIFFUSEALPHA"'|'"BLENDFACTORALPHA"'|'"BLENDTEXTUREALPHA"'|'"DOTPRODUCT3"'|'"MODULATE"'|'"MODULATE2X"'|'"MODULATE4X"'|'"MODULATEALPHA_ADDCOLOR"'|'"MODULATEINVALPHA_ADDCOLOR"'|'"MODULATEINVCOLOR_ADDALPHA"'|'"OFF"'|'"REPLACE"'|'"SELECTARG1"'|'"SELECTARG2"'|'"SUBTRACT"'|'"etc."'] from inputOutput MFString field named mode.
|
java.lang.String[] |
getSource()
Provide array of String enumeration results ['"DIFFUSE"'|'"FACTOR"'|'"SPECULAR"'|'"etc."'] from inputOutput MFString field named source.
|
X3DNode[] |
getTexture()
Provide array of X3DNode results (using an array consisting of properly typed nodes or ProtoInstanceObjects) from inputOutput MFNode field texture.
|
MultiTexture |
setAlpha(float newValue)
Assign float value within allowed range of [0,1] to inputOutput SFFloat field named alpha.
|
MultiTexture |
setColor(float[] newValue)
Assign 3-tuple float array using RGB values [0..1] using RGB values [0..1] to inputOutput SFColor field named color.
|
MultiTexture |
setCssClass(java.lang.String newValue)
Assign String value to inputOutput SFString field named class.
|
MultiTexture |
setDEF(java.lang.String newValue)
Assign String value to inputOutput SFString field named DEF.
|
MultiTexture |
setFunction(java.lang.String[] newValue)
Assign String enumeration array (""COMPLEMENT""|""ALPHAREPLICATE"") ['"COMPLEMENT"'|'"ALPHAREPLICATE"'|'"etc."'] to inputOutput MFString field named function.
|
MultiTexture |
setMetadata(X3DMetadataObject newValue)
Assign X3DMetadataObject instance (using a properly typed node) to inputOutput SFNode field metadata.
|
MultiTexture |
setMode(java.lang.String[] newValue)
Assign String enumeration array (""ADD""|""ADDSIGNED""|""ADDSIGNED2X""|""ADDSMOOTH""|""BLENDCURRENTALPHA""|""BLENDDIFFUSEALPHA""|""BLENDFACTORALPHA""|""BLENDTEXTUREALPHA""|""DOTPRODUCT3""|""MODULATE""|""MODULATE2X""|""MODULATE4X""|""MODULATEALPHA_ADDCOLOR""|""MODULATEINVALPHA_ADDCOLOR""|""MODULATEINVCOLOR_ADDALPHA""|""OFF""|""REPLACE""|""SELECTARG1""|""SELECTARG2""|""SUBTRACT"") ['"ADD"'|'"ADDSIGNED"'|'"ADDSIGNED2X"'|'"ADDSMOOTH"'|'"BLENDCURRENTALPHA"'|'"BLENDDIFFUSEALPHA"'|'"BLENDFACTORALPHA"'|'"BLENDTEXTUREALPHA"'|'"DOTPRODUCT3"'|'"MODULATE"'|'"MODULATE2X"'|'"MODULATE4X"'|'"MODULATEALPHA_ADDCOLOR"'|'"MODULATEINVALPHA_ADDCOLOR"'|'"MODULATEINVCOLOR_ADDALPHA"'|'"OFF"'|'"REPLACE"'|'"SELECTARG1"'|'"SELECTARG2"'|'"SUBTRACT"'|'"etc."'] to inputOutput MFString field named mode.
|
MultiTexture |
setSource(java.lang.String[] newValue)
Assign String enumeration array (""DIFFUSE""|""FACTOR""|""SPECULAR"") ['"DIFFUSE"'|'"FACTOR"'|'"SPECULAR"'|'"etc."'] to inputOutput MFString field named source.
|
void |
setTexture(X3DNode newValue)
Set single child texture node, replacing prior array of existing nodes (if any).
|
MultiTexture |
setTexture(X3DNode[] newValue)
Assign X3DNode array (using an array consisting of properly typed nodes or ProtoInstanceObjects) to inputOutput MFNode field texture.
|
MultiTexture |
setUSE(java.lang.String newValue)
Assign String value to inputOutput SFString field named USE.
|
float getAlpha()
MultiTexture setAlpha(float newValue)
newValue - is new value for the alpha field.MultiTexture - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).float[] getColor()
MultiTexture setColor(float[] newValue)
newValue - is new value for the color field.MultiTexture - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).java.lang.String[] getFunction()
MultiTexture setFunction(java.lang.String[] newValue)
newValue - is new value for the function field.MultiTexture - 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 X3DTextureNodeMultiTexture setMetadata(X3DMetadataObject newValue)
setMetadata in interface X3DAppearanceChildNodesetMetadata in interface X3DNodesetMetadata in interface X3DTextureNodenewValue - is new value for the metadata field.MultiTexture - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).java.lang.String[] getMode()
MultiTexture setMode(java.lang.String[] newValue)
newValue - is new value for the mode field.MultiTexture - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).java.lang.String[] getSource()
MultiTexture setSource(java.lang.String[] newValue)
newValue - is new value for the source field.MultiTexture - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).X3DNode[] getTexture()
X3DTextureNodeMultiTexture setTexture(X3DNode[] newValue)
newValue - is new value for the texture field.MultiTexture - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).void addTexture(X3DNode[] newValue)
newValue - is new value array to be appended the texture field.void setTexture(X3DNode newValue)
newValue - is new node for the texture fieldMultiTexture setDEF(java.lang.String newValue)
setDEF in interface X3DAppearanceChildNodesetDEF in interface X3DNodesetDEF in interface X3DTextureNodenewValue - is new value for the DEF field.MultiTexture - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).MultiTexture 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 X3DTextureNodenewValue - is new value for the USE field.MultiTexture - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).MultiTexture setCssClass(java.lang.String newValue)
setCssClass in interface X3DAppearanceChildNodesetCssClass in interface X3DNodesetCssClass in interface X3DTextureNodenewValue - is new value for the class field.MultiTexture - 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.