Class MultiTextureObject

java.lang.Object
org.web3d.x3d.jsail.X3DConcreteElement
org.web3d.x3d.jsail.X3DConcreteNode
org.web3d.x3d.jsail.Texturing.MultiTextureObject
All Implemented Interfaces:
X3DNode, X3DAppearanceChildNode, MultiTexture, X3DTextureNode

public class MultiTextureObject
extends X3DConcreteNode
implements MultiTexture
MultiTexture applies several individual textures to a single geometry node, enabling a variety of visual effects that include light mapping and environment mapping.

X3D node tooltip: [X3DTextureNode] MultiTexture applies several individual textures to a single geometry node, enabling a variety of visual effects that include light mapping and environment mapping. MultiTexture can contain zero or more ImageTexture, MovieTexture and PixelTexture nodes. Texture maps have a 2D coordinate system (s, t) horizontal and vertical, with (s, t) texture-coordinate values in range [0.0, 1.0] for opposite corners of the image.
Note that SFColorObject provides a variety of color constants.

Package hint: This org.web3d.x3d.jsail concrete class is used for implementing a standalone X3D object as a Plain Old Java Object (POJO). If you are writing Java code for use inside an X3D Script node, compile separate code using only the org.web3d.x3d.sai package instead.
See Also:
X3D Abstract Specification: MultiTexture, X3D Tooltips: MultiTexture, X3D Scene Authoring Hints: Images
  • Field Summary

    Fields 
    Modifier and Type Field Description
    static float ALPHA_DEFAULT_VALUE
    SFFloat field named alpha has default value 1f (Java syntax) or 1 (XML syntax).
    static float[] COLOR_DEFAULT_VALUE
    SFColor field named color has default value {1f,1f,1f} (Java syntax) or 1 1 1 (XML syntax).
    static java.lang.String COMPONENT
    String constant COMPONENT defines X3D component for the MultiTexture element: Texturing
    static java.lang.String containerField_DEFAULT_VALUE
    containerField describes typical field relationship of a node to its parent.
    static java.lang.String fromField_ALPHA
    fromField ROUTE name for SFFloat field named alpha.
    static java.lang.String fromField_COLOR
    fromField ROUTE name for SFColor field named color.
    static java.lang.String fromField_FUNCTION
    fromField ROUTE name for MFString field named function.
    static java.lang.String fromField_IS
    fromField ROUTE name for SFNode field named IS.
    static java.lang.String fromField_METADATA
    fromField ROUTE name for SFNode field named metadata.
    static java.lang.String fromField_MODE
    fromField ROUTE name for MFString field named mode.
    static java.lang.String fromField_SOURCE
    fromField ROUTE name for MFString field named source.
    static java.lang.String fromField_TEXTURE
    fromField ROUTE name for MFNode field named texture.
    static java.lang.String FUNCTION_
    MFString field named function with X3DUOM baseType multiTextureFunctionValues is an array that can include this quoted enumeration value (and also may include alternate values) "" (Java syntax) or '""' (XML syntax).
    static java.lang.String FUNCTION_ALPHAREPLICATE
    MFString field named function with X3DUOM baseType multiTextureFunctionValues is an array that can include this quoted enumeration value (and also may include alternate values) "ALPHAREPLICATE" (Java syntax) or '"ALPHAREPLICATE"' (XML syntax).
    static java.lang.String FUNCTION_COMPLEMENT
    MFString field named function with X3DUOM baseType multiTextureFunctionValues is an array that can include this quoted enumeration value (and also may include alternate values) "COMPLEMENT" (Java syntax) or '"COMPLEMENT"' (XML syntax).
    static java.util.ArrayList<java.lang.String> FUNCTION_DEFAULT_VALUE
    MFString field named function has default value equal to an empty list.
    static ISObject IS_DEFAULT_VALUE
    SFNode field named IS has default value null (Java syntax) or NULL (XML syntax).
    static int LEVEL
    Integer constant LEVEL provides default X3D Texturing component level for this element: 2
    static X3DMetadataObject METADATA_DEFAULT_VALUE
    SFNode field named metadata has default value null (Java syntax) or NULL (XML syntax).
    static java.lang.String MODE_ADD
    MFString field named mode with X3DUOM baseType multiTextureModeValues is an array that can include this quoted enumeration value (and also may include alternate values) "ADD" (Java syntax) or '"ADD"' (XML syntax).
    static java.lang.String MODE_ADDSIGNED
    MFString field named mode with X3DUOM baseType multiTextureModeValues is an array that can include this quoted enumeration value (and also may include alternate values) "ADDSIGNED" (Java syntax) or '"ADDSIGNED"' (XML syntax).
    static java.lang.String MODE_ADDSIGNED2X
    MFString field named mode with X3DUOM baseType multiTextureModeValues is an array that can include this quoted enumeration value (and also may include alternate values) "ADDSIGNED2X" (Java syntax) or '"ADDSIGNED2X"' (XML syntax).
    static java.lang.String MODE_ADDSMOOTH
    MFString field named mode with X3DUOM baseType multiTextureModeValues is an array that can include this quoted enumeration value (and also may include alternate values) "ADDSMOOTH" (Java syntax) or '"ADDSMOOTH"' (XML syntax).
    static java.lang.String MODE_BLENDCURRENTALPHA
    MFString field named mode with X3DUOM baseType multiTextureModeValues is an array that can include this quoted enumeration value (and also may include alternate values) "BLENDCURRENTALPHA" (Java syntax) or '"BLENDCURRENTALPHA"' (XML syntax).
    static java.lang.String MODE_BLENDDIFFUSEALPHA
    MFString field named mode with X3DUOM baseType multiTextureModeValues is an array that can include this quoted enumeration value (and also may include alternate values) "BLENDDIFFUSEALPHA" (Java syntax) or '"BLENDDIFFUSEALPHA"' (XML syntax).
    static java.lang.String MODE_BLENDFACTORALPHA
    MFString field named mode with X3DUOM baseType multiTextureModeValues is an array that can include this quoted enumeration value (and also may include alternate values) "BLENDFACTORALPHA" (Java syntax) or '"BLENDFACTORALPHA"' (XML syntax).
    static java.lang.String MODE_BLENDTEXTUREALPHA
    MFString field named mode with X3DUOM baseType multiTextureModeValues is an array that can include this quoted enumeration value (and also may include alternate values) "BLENDTEXTUREALPHA" (Java syntax) or '"BLENDTEXTUREALPHA"' (XML syntax).
    static java.util.ArrayList<java.lang.String> MODE_DEFAULT_VALUE
    MFString field named mode has default value equal to an empty list.
    static java.lang.String MODE_DOTPRODUCT3
    MFString field named mode with X3DUOM baseType multiTextureModeValues is an array that can include this quoted enumeration value (and also may include alternate values) "DOTPRODUCT3" (Java syntax) or '"DOTPRODUCT3"' (XML syntax).
    static java.lang.String MODE_MODULATE
    MFString field named mode with X3DUOM baseType multiTextureModeValues is an array that can include this quoted enumeration value (and also may include alternate values) "MODULATE" (Java syntax) or '"MODULATE"' (XML syntax).
    static java.lang.String MODE_MODULATE2X
    MFString field named mode with X3DUOM baseType multiTextureModeValues is an array that can include this quoted enumeration value (and also may include alternate values) "MODULATE2X" (Java syntax) or '"MODULATE2X"' (XML syntax).
    static java.lang.String MODE_MODULATE4X
    MFString field named mode with X3DUOM baseType multiTextureModeValues is an array that can include this quoted enumeration value (and also may include alternate values) "MODULATE4X" (Java syntax) or '"MODULATE4X"' (XML syntax).
    static java.lang.String MODE_MODULATEALPHA_ADDCOLOR
    MFString field named mode with X3DUOM baseType multiTextureModeValues is an array that can include this quoted enumeration value (and also may include alternate values) "MODULATEALPHA_ADDCOLOR" (Java syntax) or '"MODULATEALPHA_ADDCOLOR"' (XML syntax).
    static java.lang.String MODE_MODULATEINVALPHA_ADDCOLOR
    MFString field named mode with X3DUOM baseType multiTextureModeValues is an array that can include this quoted enumeration value (and also may include alternate values) "MODULATEINVALPHA_ADDCOLOR" (Java syntax) or '"MODULATEINVALPHA_ADDCOLOR"' (XML syntax).
    static java.lang.String MODE_MODULATEINVCOLOR_ADDALPHA
    MFString field named mode with X3DUOM baseType multiTextureModeValues is an array that can include this quoted enumeration value (and also may include alternate values) "MODULATEINVCOLOR_ADDALPHA" (Java syntax) or '"MODULATEINVCOLOR_ADDALPHA"' (XML syntax).
    static java.lang.String MODE_OFF
    MFString field named mode with X3DUOM baseType multiTextureModeValues is an array that can include this quoted enumeration value (and also may include alternate values) "OFF" (Java syntax) or '"OFF"' (XML syntax).
    static java.lang.String MODE_REPLACE
    MFString field named mode with X3DUOM baseType multiTextureModeValues is an array that can include this quoted enumeration value (and also may include alternate values) "REPLACE" (Java syntax) or '"REPLACE"' (XML syntax).
    static java.lang.String MODE_SELECTARG1
    MFString field named mode with X3DUOM baseType multiTextureModeValues is an array that can include this quoted enumeration value (and also may include alternate values) "SELECTARG1" (Java syntax) or '"SELECTARG1"' (XML syntax).
    static java.lang.String MODE_SELECTARG2
    MFString field named mode with X3DUOM baseType multiTextureModeValues is an array that can include this quoted enumeration value (and also may include alternate values) "SELECTARG2" (Java syntax) or '"SELECTARG2"' (XML syntax).
    static java.lang.String MODE_SUBTRACT
    MFString field named mode with X3DUOM baseType multiTextureModeValues is an array that can include this quoted enumeration value (and also may include alternate values) "SUBTRACT" (Java syntax) or '"SUBTRACT"' (XML syntax).
    static java.util.ArrayList<java.lang.String> multiTextureFunctionValues
    List of specification-defined enumeration values, with additional author-defined enumeration values not allowed.
    static java.util.ArrayList<java.lang.String> multiTextureModeValues
    List of specification-defined enumeration values, with additional author-defined enumeration values not allowed.
    static java.util.ArrayList<java.lang.String> multiTextureSourceValues
    List of specification-defined enumeration values, with additional author-defined enumeration values not allowed.
    static java.lang.String NAME
    String constant NAME provides name of this element: MultiTexture.
    static java.lang.String SOURCE_
    MFString field named source with X3DUOM baseType multiTextureSourceValues is an array that can include this quoted enumeration value (and also may include alternate values) "" (Java syntax) or '""' (XML syntax).
    static java.util.ArrayList<java.lang.String> SOURCE_DEFAULT_VALUE
    MFString field named source has default value equal to an empty list.
    static java.lang.String SOURCE_DIFFUSE
    MFString field named source with X3DUOM baseType multiTextureSourceValues is an array that can include this quoted enumeration value (and also may include alternate values) "DIFFUSE" (Java syntax) or '"DIFFUSE"' (XML syntax).
    static java.lang.String SOURCE_FACTOR
    MFString field named source with X3DUOM baseType multiTextureSourceValues is an array that can include this quoted enumeration value (and also may include alternate values) "FACTOR" (Java syntax) or '"FACTOR"' (XML syntax).
    static java.lang.String SOURCE_SPECULAR
    MFString field named source with X3DUOM baseType multiTextureSourceValues is an array that can include this quoted enumeration value (and also may include alternate values) "SPECULAR" (Java syntax) or '"SPECULAR"' (XML syntax).
    static java.lang.String toField_ALPHA
    toField ROUTE name for SFFloat field named alpha.
    static java.lang.String toField_COLOR
    toField ROUTE name for SFColor field named color.
    static java.lang.String toField_FUNCTION
    toField ROUTE name for MFString field named function.
    static java.lang.String toField_METADATA
    toField ROUTE name for SFNode field named metadata.
    static java.lang.String toField_MODE
    toField ROUTE name for MFString field named mode.
    static java.lang.String toField_SOURCE
    toField ROUTE name for MFString field named source.
    static java.lang.String toField_TEXTURE
    toField ROUTE name for MFNode field named texture.

    Fields inherited from class org.web3d.x3d.jsail.X3DConcreteElement

    validationResult
  • Constructor Summary

    Constructors 
    Constructor Description
    MultiTextureObject()
    Constructor for MultiTextureObject to initialize member variables with default values.
    MultiTextureObject​(java.lang.String DEFlabel)
    Utility constructor that assigns DEF label after initializing member variables with default values.
  • Method Summary

    Modifier and Type Method Description
    MultiTextureObject addComments​(java.lang.String newComment)
    Add comment as String to contained commentsList.
    MultiTextureObject addComments​(java.lang.String[] newComments)
    Add comments as String[] array to contained commentsList.
    MultiTextureObject addComments​(CommentsBlock newCommentsBlock)
    Add CommentsBlock to contained commentsList.
    MultiTextureObject addFunction​(java.lang.String newValue)
    Add singleton String value to MFString function field.
    MultiTextureObject addFunction​(SFStringObject newValue)
    Add singleton SFStringObject value to MFString function field.
    MultiTextureObject addMode​(java.lang.String newValue)
    Add singleton String value to MFString mode field.
    MultiTextureObject addMode​(SFStringObject newValue)
    Add singleton SFStringObject value to MFString mode field.
    MultiTextureObject addSource​(java.lang.String newValue)
    Add singleton String value to MFString source field.
    MultiTextureObject addSource​(SFStringObject newValue)
    Add singleton SFStringObject value to MFString source field.
    MultiTextureObject addTexture​(ProtoInstanceObject newValue)
    Add single ProtoInstanceObject (with appropriate node type and containerField value) to MFNode array for texture field.
    MultiTextureObject addTexture​(X3DNode newValue)
    Add single child node to existing array of texture nodes (if any).
    void addTexture​(X3DNode[] newValue)
    Add array of child texture nodes to array of existing nodes (if any).
    MultiTextureObject clearFunction()
    Utility method to clear MFString value of function field.
    MultiTextureObject clearIS()
    Utility method to clear SFNode value of IS field.
    MultiTextureObject clearMetadata()
    Utility method to clear SFNode value of metadata field.
    MultiTextureObject clearMode()
    Utility method to clear MFString value of mode field.
    MultiTextureObject clearSource()
    Utility method to clear MFString value of source field.
    MultiTextureObject clearTexture()
    Utility method to clear MFNode value of texture field.
    X3DConcreteElement findElementByNameValue​(java.lang.String nameValue)
    Recursive method to provide object reference to node or statement by name attribute, if found as part of this element or in a contained element.
    X3DConcreteElement findElementByNameValue​(java.lang.String nameValue, java.lang.String elementName)
    Recursive method to provide object reference to node or statement by name attribute, if found as part of this element or in a contained element.
    X3DConcreteNode findNodeByDEF​(java.lang.String DEFvalue)
    Recursive method to provide object reference to node by DEF, if found as this node or in a contained node.
    java.lang.String getAccessType​(java.lang.String fieldName)
    Indicate accessType corresponding to given fieldName.
    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 getComponent()
    Defines X3D component for the MultiTexture element: Texturing
    int getComponentLevel()
    Provides default X3D component level for this element: 2
    java.lang.String getContainerFieldDefault()
    containerField describes typical field relationship of a node to its parent.
    java.lang.String getCssClass()
    Provide String value from inputOutput SFString field named class.
    java.lang.String getDEF()
    Provide String value from inputOutput SFString field named DEF.
    java.lang.String getElementName()
    Provides name of this element: MultiTexture
    java.lang.String getFieldType​(java.lang.String fieldName)
    Indicate type corresponding to given fieldName.
    java.lang.String[] getFunction()
    Provide array of String enumeration results (baseType multiTextureFunctionValues) ['"COMPLEMENT"' | '"ALPHAREPLICATE"' | '""' | '"etc."'] from inputOutput MFString field named function.
    java.util.ArrayList<java.lang.String> getFunctionList()
    Utility method to get ArrayList value of MFString function field, similar to getFunction().
    java.lang.String getFunctionString()
    Utility method to get String value of MFString function field, similar to getFunction().
    ISObject getIS()
    Provide ISObject instance (using a properly typed node) from inputOutput SFNode field IS.
    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 (baseType multiTextureModeValues) ['"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.util.ArrayList<java.lang.String> getModeList()
    Utility method to get ArrayList value of MFString mode field, similar to getMode().
    java.lang.String getModeString()
    Utility method to get String value of MFString mode field, similar to getMode().
    java.lang.String[] getSource()
    Provide array of String enumeration results (baseType multiTextureSourceValues) ['"DIFFUSE"' | '"FACTOR"' | '"SPECULAR"' | '""' | '"etc."'] from inputOutput MFString field named source.
    java.util.ArrayList<java.lang.String> getSourceList()
    Utility method to get ArrayList value of MFString source field, similar to getSource().
    java.lang.String getSourceString()
    Utility method to get String value of MFString source field, similar to getSource().
    X3DNode[] getTexture()
    Provide array of X3DTextureNode results (using an array consisting of properly typed nodes or ProtoInstanceObjects) from inputOutput MFNode field texture.
    java.util.ArrayList<X3DNode> getTextureList()
    Utility method to get ArrayList value of MFNode texture field, similar to getTexture().
    java.lang.String getUSE()
    Provide String value from inputOutput SFString field named USE.
    boolean hasElementByNameValue​(java.lang.String nameValue, java.lang.String elementName)
    Recursive method to determine whether node or statement with given name attribute is found, meaning both objects are attached to same scene graph.
    boolean hasIS()
    Indicate whether an object is available for inputOutput SFNode field IS.
    boolean hasMetadata()
    Indicate whether an object is available for inputOutput SFNode field metadata.
    boolean hasNodeByDEF​(java.lang.String DEFvalue)
    Recursive method to determine whether node with DEFvalue is found, meaning both objects are attached to same scene graph.
    boolean hasTexture()
    Indicate whether an object is available for inputOutput MFNode field texture.
    void initialize()
    Initialize all member variables to default values.
    MultiTextureObject setAlpha​(double newValue)
    Utility method: double-precision set-parameter accessor for X3D floating-point type, similar to setAlpha(float).
    MultiTextureObject setAlpha​(float newValue)
    Accessor method to assign float value to inputOutput SFFloat field named alpha.
    MultiTextureObject setAlpha​(SFFloatObject newValue)
    Assign typed object value to SFFloat alpha field, similar to setAlpha(float).
    MultiTextureObject setColor​(double[] newArray)
    Utility method: double-precision set-parameters accessor for X3D floating-point type, similar to setColor(float[]).
    MultiTextureObject setColor​(double red, double green, double blue)
    Utility method: double-precision set-parameters accessor for X3D floating-point type, similar to setColor(float[]).
    MultiTextureObject setColor​(float[] newValue)
    Accessor method to assign 3-tuple float array using RGB values [0..1] to inputOutput SFColor field named color.
    MultiTextureObject setColor​(float red, float green, float blue)
    Assign values to SFColor color field, similar to setColor(float[]).
    MultiTextureObject setColor​(SFColorObject newValue)
    Assign typed object value to SFColor color field, similar to setColor(float[]).
    MultiTextureObject setCssClass​(java.lang.String newValue)
    Accessor method to assign String value to inputOutput SFString field named class.
    MultiTextureObject setCssClass​(SFStringObject newValue)
    Assign typed object value to SFString cssClass field, similar to setCssClass(String).
    MultiTextureObject setDEF​(java.lang.String newValue)
    Accessor method to assign String value to inputOutput SFString field named DEF.
    MultiTextureObject setDEF​(SFStringObject newValue)
    Assign typed object value to SFString DEF field, similar to setDEF(String).
    MultiTextureObject setFunction​(java.lang.String newValue)
    Assign singleton String value to MFString function field, similar to setFunction(String[]).
    MultiTextureObject setFunction​(java.lang.String[] newValue)
    Accessor method to assign String enumeration array (""COMPLEMENT"" | ""ALPHAREPLICATE"" | """") to inputOutput MFString field named function.
    MultiTextureObject setFunction​(java.util.ArrayList<java.lang.String> newValue)
    Assign ArrayList value of MFString function field, similar to setFunction(String[]).
    MultiTextureObject setFunction​(MFStringObject newValue)
    Assign typed object value to MFString function field, similar to setFunction(String[]).
    MultiTextureObject setFunction​(SFStringObject newValue)
    Assign single SFString object value to MFString function field, similar to setFunction(String[]).
    MultiTextureObject setIS​(ISObject newValue)
    Accessor method to assign ISObject instance (using a properly typed node) to inputOutput SFNode field IS.
    MultiTextureObject setMetadata​(ProtoInstanceObject newValue)
    Assign ProtoInstance (using a properly typed node) to inputOutput SFNode field metadata.
    MultiTextureObject setMetadata​(X3DMetadataObject newValue)
    Accessor method to assign X3DMetadataObject instance (using a properly typed node) to inputOutput SFNode field metadata.
    MultiTextureObject setMode​(java.lang.String newValue)
    Assign singleton String value to MFString mode field, similar to setMode(String[]).
    MultiTextureObject setMode​(java.lang.String[] newValue)
    Accessor method to 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"") to inputOutput MFString field named mode.
    MultiTextureObject setMode​(java.util.ArrayList<java.lang.String> newValue)
    Assign ArrayList value of MFString mode field, similar to setMode(String[]).
    MultiTextureObject setMode​(MFStringObject newValue)
    Assign typed object value to MFString mode field, similar to setMode(String[]).
    MultiTextureObject setMode​(SFStringObject newValue)
    Assign single SFString object value to MFString mode field, similar to setMode(String[]).
    MultiTextureObject setSource​(java.lang.String newValue)
    Assign singleton String value to MFString source field, similar to setSource(String[]).
    MultiTextureObject setSource​(java.lang.String[] newValue)
    Accessor method to assign String enumeration array (""DIFFUSE"" | ""FACTOR"" | ""SPECULAR"" | """") to inputOutput MFString field named source.
    MultiTextureObject setSource​(java.util.ArrayList<java.lang.String> newValue)
    Assign ArrayList value of MFString source field, similar to setSource(String[]).
    MultiTextureObject setSource​(MFStringObject newValue)
    Assign typed object value to MFString source field, similar to setSource(String[]).
    MultiTextureObject setSource​(SFStringObject newValue)
    Assign single SFString object value to MFString source field, similar to setSource(String[]).
    MultiTextureObject setTexture​(java.util.ArrayList<X3DTextureNode> newValue)
    Assign ArrayList value of MFNode texture field, similar to setTexture(X3DNode[]).
    void setTexture​(X3DNode newValue)
    Set single child texture node, replacing prior array of existing nodes (if any).
    MultiTextureObject setTexture​(X3DNode[] newValue)
    Accessor method to assign X3DTextureNode array (using an array consisting of properly typed nodes or ProtoInstanceObjects) to inputOutput MFNode field texture.
    MultiTextureObject setUSE​(java.lang.String newValue)
    Accessor method to assign String value to inputOutput SFString field named USE.
    MultiTextureObject setUSE​(SFStringObject newValue)
    Assign typed object value to SFString USE field, similar to setUSE(String).
    MultiTextureObject setUSE​(MultiTextureObject DEFnode)
    Assign a USE reference to another DEF node of same node type, similar to setUSE(String).
    java.lang.String toStringClassicVRML​(int indentLevel)
    Recursive method to provide ClassicVRML string serialization.
    java.lang.String toStringVRML97​(int indentLevel)
    Recursive method to provide VRML97 string serialization.
    java.lang.String toStringX3D​(int indentLevel)
    Recursive method to provide X3D string serialization of this model subgraph, utilizing XML encoding and conforming to X3D Canonical Form.
    java.lang.String validate()
    Recursive method to validate this element plus all contained nodes and statements, using both datatype-specification value checks and regular expression (regex) checking of corresponding string values.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • multiTextureFunctionValues

      public static final java.util.ArrayList<java.lang.String> multiTextureFunctionValues
      List of specification-defined enumeration values, with additional author-defined enumeration values not allowed.

      Allowed values: ""COMPLEMENT"", ""ALPHAREPLICATE"", """".

      multiTextureFunctionValues are allowed values for the MultiTexture node function attribute, one per each texture. An empty string indicates no function is applied. Multiple optional values, but cannot be extended.
      See Also:
      https://www.web3d.org/documents/specifications/19775-1/V3.3/Part01/components/texturing.html#t-ValuesForFunctionField
    • FUNCTION_COMPLEMENT

      public static final java.lang.String FUNCTION_COMPLEMENT
      MFString field named function with X3DUOM baseType multiTextureFunctionValues is an array that can include this quoted enumeration value (and also may include alternate values) "COMPLEMENT" (Java syntax) or '"COMPLEMENT"' (XML syntax).
      See Also:
      multiTextureFunctionValues, Constant Field Values
    • FUNCTION_ALPHAREPLICATE

      public static final java.lang.String FUNCTION_ALPHAREPLICATE
      MFString field named function with X3DUOM baseType multiTextureFunctionValues is an array that can include this quoted enumeration value (and also may include alternate values) "ALPHAREPLICATE" (Java syntax) or '"ALPHAREPLICATE"' (XML syntax).
      See Also:
      multiTextureFunctionValues, Constant Field Values
    • FUNCTION_

      public static final java.lang.String FUNCTION_
      MFString field named function with X3DUOM baseType multiTextureFunctionValues is an array that can include this quoted enumeration value (and also may include alternate values) "" (Java syntax) or '""' (XML syntax).
      See Also:
      multiTextureFunctionValues, Constant Field Values
    • multiTextureModeValues

      public static final java.util.ArrayList<java.lang.String> multiTextureModeValues
      List of specification-defined enumeration values, with additional author-defined enumeration values not allowed.

      Allowed values: ""ADD"", ""ADDSIGNED"", ""ADDSIGNED2X"", ""ADDSMOOTH"", ""BLENDCURRENTALPHA"", ""BLENDDIFFUSEALPHA"", ""BLENDFACTORALPHA"", ""BLENDTEXTUREALPHA"", ""DOTPRODUCT3"", ""MODULATE"", ""MODULATE2X"", ""MODULATE4X"", ""MODULATEALPHA_ADDCOLOR"", ""MODULATEINVALPHA_ADDCOLOR"", ""MODULATEINVCOLOR_ADDALPHA"", ""OFF"", ""REPLACE"", ""SELECTARG1"", ""SELECTARG2"", ""SUBTRACT"".

      multiTextureModeValues are allowed values for the MultiTexture mode attribute, one per each texture. Multiple optional values, but cannot be extended.
      See Also:
      https://www.web3d.org/documents/specifications/19775-1/V3.3/Part01/components/texturing.html#t-MultitextureModes
    • MODE_ADD

      public static final java.lang.String MODE_ADD
      MFString field named mode with X3DUOM baseType multiTextureModeValues is an array that can include this quoted enumeration value (and also may include alternate values) "ADD" (Java syntax) or '"ADD"' (XML syntax).
      See Also:
      multiTextureModeValues, Constant Field Values
    • MODE_ADDSIGNED

      public static final java.lang.String MODE_ADDSIGNED
      MFString field named mode with X3DUOM baseType multiTextureModeValues is an array that can include this quoted enumeration value (and also may include alternate values) "ADDSIGNED" (Java syntax) or '"ADDSIGNED"' (XML syntax).
      See Also:
      multiTextureModeValues, Constant Field Values
    • MODE_ADDSIGNED2X

      public static final java.lang.String MODE_ADDSIGNED2X
      MFString field named mode with X3DUOM baseType multiTextureModeValues is an array that can include this quoted enumeration value (and also may include alternate values) "ADDSIGNED2X" (Java syntax) or '"ADDSIGNED2X"' (XML syntax).
      See Also:
      multiTextureModeValues, Constant Field Values
    • MODE_ADDSMOOTH

      public static final java.lang.String MODE_ADDSMOOTH
      MFString field named mode with X3DUOM baseType multiTextureModeValues is an array that can include this quoted enumeration value (and also may include alternate values) "ADDSMOOTH" (Java syntax) or '"ADDSMOOTH"' (XML syntax).
      See Also:
      multiTextureModeValues, Constant Field Values
    • MODE_BLENDCURRENTALPHA

      public static final java.lang.String MODE_BLENDCURRENTALPHA
      MFString field named mode with X3DUOM baseType multiTextureModeValues is an array that can include this quoted enumeration value (and also may include alternate values) "BLENDCURRENTALPHA" (Java syntax) or '"BLENDCURRENTALPHA"' (XML syntax).
      See Also:
      multiTextureModeValues, Constant Field Values
    • MODE_BLENDDIFFUSEALPHA

      public static final java.lang.String MODE_BLENDDIFFUSEALPHA
      MFString field named mode with X3DUOM baseType multiTextureModeValues is an array that can include this quoted enumeration value (and also may include alternate values) "BLENDDIFFUSEALPHA" (Java syntax) or '"BLENDDIFFUSEALPHA"' (XML syntax).
      See Also:
      multiTextureModeValues, Constant Field Values
    • MODE_BLENDFACTORALPHA

      public static final java.lang.String MODE_BLENDFACTORALPHA
      MFString field named mode with X3DUOM baseType multiTextureModeValues is an array that can include this quoted enumeration value (and also may include alternate values) "BLENDFACTORALPHA" (Java syntax) or '"BLENDFACTORALPHA"' (XML syntax).
      See Also:
      multiTextureModeValues, Constant Field Values
    • MODE_BLENDTEXTUREALPHA

      public static final java.lang.String MODE_BLENDTEXTUREALPHA
      MFString field named mode with X3DUOM baseType multiTextureModeValues is an array that can include this quoted enumeration value (and also may include alternate values) "BLENDTEXTUREALPHA" (Java syntax) or '"BLENDTEXTUREALPHA"' (XML syntax).
      See Also:
      multiTextureModeValues, Constant Field Values
    • MODE_DOTPRODUCT3

      public static final java.lang.String MODE_DOTPRODUCT3
      MFString field named mode with X3DUOM baseType multiTextureModeValues is an array that can include this quoted enumeration value (and also may include alternate values) "DOTPRODUCT3" (Java syntax) or '"DOTPRODUCT3"' (XML syntax).
      See Also:
      multiTextureModeValues, Constant Field Values
    • MODE_MODULATE

      public static final java.lang.String MODE_MODULATE
      MFString field named mode with X3DUOM baseType multiTextureModeValues is an array that can include this quoted enumeration value (and also may include alternate values) "MODULATE" (Java syntax) or '"MODULATE"' (XML syntax).
      See Also:
      multiTextureModeValues, Constant Field Values
    • MODE_MODULATE2X

      public static final java.lang.String MODE_MODULATE2X
      MFString field named mode with X3DUOM baseType multiTextureModeValues is an array that can include this quoted enumeration value (and also may include alternate values) "MODULATE2X" (Java syntax) or '"MODULATE2X"' (XML syntax).
      See Also:
      multiTextureModeValues, Constant Field Values
    • MODE_MODULATE4X

      public static final java.lang.String MODE_MODULATE4X
      MFString field named mode with X3DUOM baseType multiTextureModeValues is an array that can include this quoted enumeration value (and also may include alternate values) "MODULATE4X" (Java syntax) or '"MODULATE4X"' (XML syntax).
      See Also:
      multiTextureModeValues, Constant Field Values
    • MODE_MODULATEALPHA_ADDCOLOR

      public static final java.lang.String MODE_MODULATEALPHA_ADDCOLOR
      MFString field named mode with X3DUOM baseType multiTextureModeValues is an array that can include this quoted enumeration value (and also may include alternate values) "MODULATEALPHA_ADDCOLOR" (Java syntax) or '"MODULATEALPHA_ADDCOLOR"' (XML syntax).
      See Also:
      multiTextureModeValues, Constant Field Values
    • MODE_MODULATEINVALPHA_ADDCOLOR

      public static final java.lang.String MODE_MODULATEINVALPHA_ADDCOLOR
      MFString field named mode with X3DUOM baseType multiTextureModeValues is an array that can include this quoted enumeration value (and also may include alternate values) "MODULATEINVALPHA_ADDCOLOR" (Java syntax) or '"MODULATEINVALPHA_ADDCOLOR"' (XML syntax).
      See Also:
      multiTextureModeValues, Constant Field Values
    • MODE_MODULATEINVCOLOR_ADDALPHA

      public static final java.lang.String MODE_MODULATEINVCOLOR_ADDALPHA
      MFString field named mode with X3DUOM baseType multiTextureModeValues is an array that can include this quoted enumeration value (and also may include alternate values) "MODULATEINVCOLOR_ADDALPHA" (Java syntax) or '"MODULATEINVCOLOR_ADDALPHA"' (XML syntax).
      See Also:
      multiTextureModeValues, Constant Field Values
    • MODE_OFF

      public static final java.lang.String MODE_OFF
      MFString field named mode with X3DUOM baseType multiTextureModeValues is an array that can include this quoted enumeration value (and also may include alternate values) "OFF" (Java syntax) or '"OFF"' (XML syntax).
      See Also:
      multiTextureModeValues, Constant Field Values
    • MODE_REPLACE

      public static final java.lang.String MODE_REPLACE
      MFString field named mode with X3DUOM baseType multiTextureModeValues is an array that can include this quoted enumeration value (and also may include alternate values) "REPLACE" (Java syntax) or '"REPLACE"' (XML syntax).
      See Also:
      multiTextureModeValues, Constant Field Values
    • MODE_SELECTARG1

      public static final java.lang.String MODE_SELECTARG1
      MFString field named mode with X3DUOM baseType multiTextureModeValues is an array that can include this quoted enumeration value (and also may include alternate values) "SELECTARG1" (Java syntax) or '"SELECTARG1"' (XML syntax).
      See Also:
      multiTextureModeValues, Constant Field Values
    • MODE_SELECTARG2

      public static final java.lang.String MODE_SELECTARG2
      MFString field named mode with X3DUOM baseType multiTextureModeValues is an array that can include this quoted enumeration value (and also may include alternate values) "SELECTARG2" (Java syntax) or '"SELECTARG2"' (XML syntax).
      See Also:
      multiTextureModeValues, Constant Field Values
    • MODE_SUBTRACT

      public static final java.lang.String MODE_SUBTRACT
      MFString field named mode with X3DUOM baseType multiTextureModeValues is an array that can include this quoted enumeration value (and also may include alternate values) "SUBTRACT" (Java syntax) or '"SUBTRACT"' (XML syntax).
      See Also:
      multiTextureModeValues, Constant Field Values
    • multiTextureSourceValues

      public static final java.util.ArrayList<java.lang.String> multiTextureSourceValues
      List of specification-defined enumeration values, with additional author-defined enumeration values not allowed.

      Allowed values: ""DIFFUSE"", ""FACTOR"", ""SPECULAR"", """".

      multiTextureSourceValues are allowed values for the MultiTexture node source attribute, one per each texture. Multiple optional values, but cannot be extended.
      See Also:
      https://www.web3d.org/documents/specifications/19775-1/V3.3/Part01/components/texturing.html#t-ValuesForSourceField
    • SOURCE_DIFFUSE

      public static final java.lang.String SOURCE_DIFFUSE
      MFString field named source with X3DUOM baseType multiTextureSourceValues is an array that can include this quoted enumeration value (and also may include alternate values) "DIFFUSE" (Java syntax) or '"DIFFUSE"' (XML syntax).
      See Also:
      multiTextureSourceValues, Constant Field Values
    • SOURCE_FACTOR

      public static final java.lang.String SOURCE_FACTOR
      MFString field named source with X3DUOM baseType multiTextureSourceValues is an array that can include this quoted enumeration value (and also may include alternate values) "FACTOR" (Java syntax) or '"FACTOR"' (XML syntax).
      See Also:
      multiTextureSourceValues, Constant Field Values
    • SOURCE_SPECULAR

      public static final java.lang.String SOURCE_SPECULAR
      MFString field named source with X3DUOM baseType multiTextureSourceValues is an array that can include this quoted enumeration value (and also may include alternate values) "SPECULAR" (Java syntax) or '"SPECULAR"' (XML syntax).
      See Also:
      multiTextureSourceValues, Constant Field Values
    • SOURCE_

      public static final java.lang.String SOURCE_
      MFString field named source with X3DUOM baseType multiTextureSourceValues is an array that can include this quoted enumeration value (and also may include alternate values) "" (Java syntax) or '""' (XML syntax).
      See Also:
      multiTextureSourceValues, Constant Field Values
    • NAME

      public static final java.lang.String NAME
      String constant NAME provides name of this element: MultiTexture.
      See Also:
      Constant Field Values
    • COMPONENT

      public static final java.lang.String COMPONENT
      String constant COMPONENT defines X3D component for the MultiTexture element: Texturing
      See Also:
      Constant Field Values
    • LEVEL

      public static final int LEVEL
      Integer constant LEVEL provides default X3D Texturing component level for this element: 2
      See Also:
      Constant Field Values
    • ALPHA_DEFAULT_VALUE

      public static final float ALPHA_DEFAULT_VALUE
      SFFloat field named alpha has default value 1f (Java syntax) or 1 (XML syntax).
      See Also:
      Constant Field Values
    • COLOR_DEFAULT_VALUE

      public static final float[] COLOR_DEFAULT_VALUE
      SFColor field named color has default value {1f,1f,1f} (Java syntax) or 1 1 1 (XML syntax).
    • FUNCTION_DEFAULT_VALUE

      public static final java.util.ArrayList<java.lang.String> FUNCTION_DEFAULT_VALUE
      MFString field named function has default value equal to an empty list.
    • IS_DEFAULT_VALUE

      public static final ISObject IS_DEFAULT_VALUE
      SFNode field named IS has default value null (Java syntax) or NULL (XML syntax).
    • METADATA_DEFAULT_VALUE

      public static final X3DMetadataObject METADATA_DEFAULT_VALUE
      SFNode field named metadata has default value null (Java syntax) or NULL (XML syntax).
    • MODE_DEFAULT_VALUE

      public static final java.util.ArrayList<java.lang.String> MODE_DEFAULT_VALUE
      MFString field named mode has default value equal to an empty list.
    • SOURCE_DEFAULT_VALUE

      public static final java.util.ArrayList<java.lang.String> SOURCE_DEFAULT_VALUE
      MFString field named source has default value equal to an empty list.
    • containerField_DEFAULT_VALUE

      public static final java.lang.String containerField_DEFAULT_VALUE
      containerField describes typical field relationship of a node to its parent. Usage is not ordinarily needed when using this API, default value is provided for informational purposes.
      See Also:
      X3D Scene Authoring Hints: containerField, X3D Unified Object Model (X3DUOM), Constant Field Values
    • fromField_ALPHA

      public static final java.lang.String fromField_ALPHA
      fromField ROUTE name for SFFloat field named alpha.
      See Also:
      Constant Field Values
    • toField_ALPHA

      public static final java.lang.String toField_ALPHA
      toField ROUTE name for SFFloat field named alpha.
      See Also:
      Constant Field Values
    • fromField_COLOR

      public static final java.lang.String fromField_COLOR
      fromField ROUTE name for SFColor field named color.
      See Also:
      Constant Field Values
    • toField_COLOR

      public static final java.lang.String toField_COLOR
      toField ROUTE name for SFColor field named color.
      See Also:
      Constant Field Values
    • fromField_FUNCTION

      public static final java.lang.String fromField_FUNCTION
      fromField ROUTE name for MFString field named function.
      See Also:
      Constant Field Values
    • toField_FUNCTION

      public static final java.lang.String toField_FUNCTION
      toField ROUTE name for MFString field named function.
      See Also:
      Constant Field Values
    • fromField_IS

      public static final java.lang.String fromField_IS
      fromField ROUTE name for SFNode field named IS.
      See Also:
      Constant Field Values
    • fromField_METADATA

      public static final java.lang.String fromField_METADATA
      fromField ROUTE name for SFNode field named metadata.
      See Also:
      Constant Field Values
    • toField_METADATA

      public static final java.lang.String toField_METADATA
      toField ROUTE name for SFNode field named metadata.
      See Also:
      Constant Field Values
    • fromField_MODE

      public static final java.lang.String fromField_MODE
      fromField ROUTE name for MFString field named mode.
      See Also:
      Constant Field Values
    • toField_MODE

      public static final java.lang.String toField_MODE
      toField ROUTE name for MFString field named mode.
      See Also:
      Constant Field Values
    • fromField_SOURCE

      public static final java.lang.String fromField_SOURCE
      fromField ROUTE name for MFString field named source.
      See Also:
      Constant Field Values
    • toField_SOURCE

      public static final java.lang.String toField_SOURCE
      toField ROUTE name for MFString field named source.
      See Also:
      Constant Field Values
    • fromField_TEXTURE

      public static final java.lang.String fromField_TEXTURE
      fromField ROUTE name for MFNode field named texture.
      See Also:
      Constant Field Values
    • toField_TEXTURE

      public static final java.lang.String toField_TEXTURE
      toField ROUTE name for MFNode field named texture.
      See Also:
      Constant Field Values
  • Constructor Details

    • MultiTextureObject

      public MultiTextureObject()
      Constructor for MultiTextureObject to initialize member variables with default values.
    • MultiTextureObject

      public MultiTextureObject​(java.lang.String DEFlabel)
      Utility constructor that assigns DEF label after initializing member variables with default values.
      Parameters:
      DEFlabel - unique DEF name for this X3D node
  • Method Details