Class MultiTexture

All Implemented Interfaces:
X3DNode, X3DAppearanceChildNode, MultiTexture, X3DTextureNode

public class MultiTexture 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.

MultiTexture 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, PixelTexture, ComposedCubeMapTexture, GeneratedCubeMapTexture, ImageCubeMapTexture, ComposedTexture3D, ImageTexture3D, and PixelTexture3D 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 SFColor 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:
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final float
    SFFloat field named alpha has default value 1f (Java syntax) or 1 (XML syntax).
    static final float[]
    SFColor field named color has default value {1f,1f,1f} (Java syntax) or 1 1 1 (XML syntax).
    static final String
    String constant COMPONENT defines X3D component for the MultiTexture element: Texturing
    static final String
    containerField describes typical field relationship of a node to its parent.
    static final String
    SFString field named description has default value equal to an empty string.
    static final String
    fromField ROUTE name for SFFloat field named alpha.
    static final String
    fromField ROUTE name for SFColor field named color.
    static final String
    fromField ROUTE name for SFString field named description.
    static final String
    fromField ROUTE name for MFString field named function.
    static final String
    fromField ROUTE name for SFNode field named IS.
    static final String
    fromField ROUTE name for SFNode field named metadata.
    static final String
    fromField ROUTE name for MFString field named mode.
    static final String
    fromField ROUTE name for MFString field named source.
    static final String
    fromField ROUTE name for MFNode field named texture.
    static final String
    Tooltip: No function is applied - empty SFString is allowed value within MFString array.
    static final String
    Tooltip: Replicate alpha information to all color channels before operation completes.
    static final String
    Tooltip: Invert argument x as (1 - x).
    static final IS
    SFNode field named IS has default value null (Java syntax) or NULL (XML syntax).
    static final int
    Integer constant LEVEL provides default X3D Texturing component level for this element: 2
    static final X3DMetadataObject
    SFNode field named metadata has default value null (Java syntax) or NULL (XML syntax).
    static final String
    MFString field named mode with X3DUOM simpleType multiTextureModeValues and with X3DUOM baseType MFString is an array that can include this quoted enumeration value (and also may include alternate values) "ADD" (Java syntax) or '"ADD"' (XML syntax).
    static final String
    MFString field named mode with X3DUOM simpleType multiTextureModeValues and with X3DUOM baseType MFString is an array that can include this quoted enumeration value (and also may include alternate values) "ADDSIGNED" (Java syntax) or '"ADDSIGNED"' (XML syntax).
    static final String
    MFString field named mode with X3DUOM simpleType multiTextureModeValues and with X3DUOM baseType MFString is an array that can include this quoted enumeration value (and also may include alternate values) "ADDSIGNED2X" (Java syntax) or '"ADDSIGNED2X"' (XML syntax).
    static final String
    MFString field named mode with X3DUOM simpleType multiTextureModeValues and with X3DUOM baseType MFString is an array that can include this quoted enumeration value (and also may include alternate values) "ADDSMOOTH" (Java syntax) or '"ADDSMOOTH"' (XML syntax).
    static final String
    MFString field named mode with X3DUOM simpleType multiTextureModeValues and with X3DUOM baseType MFString is an array that can include this quoted enumeration value (and also may include alternate values) "BLENDCURRENTALPHA" (Java syntax) or '"BLENDCURRENTALPHA"' (XML syntax).
    static final String
    MFString field named mode with X3DUOM simpleType multiTextureModeValues and with X3DUOM baseType MFString is an array that can include this quoted enumeration value (and also may include alternate values) "BLENDDIFFUSEALPHA" (Java syntax) or '"BLENDDIFFUSEALPHA"' (XML syntax).
    static final String
    MFString field named mode with X3DUOM simpleType multiTextureModeValues and with X3DUOM baseType MFString is an array that can include this quoted enumeration value (and also may include alternate values) "BLENDFACTORALPHA" (Java syntax) or '"BLENDFACTORALPHA"' (XML syntax).
    static final String
    MFString field named mode with X3DUOM simpleType multiTextureModeValues and with X3DUOM baseType MFString is an array that can include this quoted enumeration value (and also may include alternate values) "BLENDTEXTUREALPHA" (Java syntax) or '"BLENDTEXTUREALPHA"' (XML syntax).
    static final String
    MFString field named mode with X3DUOM simpleType multiTextureModeValues and with X3DUOM baseType MFString is an array that can include this quoted enumeration value (and also may include alternate values) "DOTPRODUCT3" (Java syntax) or '"DOTPRODUCT3"' (XML syntax).
    static final String
    MFString field named mode with X3DUOM simpleType multiTextureModeValues and with X3DUOM baseType MFString is an array that can include this quoted enumeration value (and also may include alternate values) "MODULATE" (Java syntax) or '"MODULATE"' (XML syntax).
    static final String
    MFString field named mode with X3DUOM simpleType multiTextureModeValues and with X3DUOM baseType MFString is an array that can include this quoted enumeration value (and also may include alternate values) "MODULATE2X" (Java syntax) or '"MODULATE2X"' (XML syntax).
    static final String
    MFString field named mode with X3DUOM simpleType multiTextureModeValues and with X3DUOM baseType MFString is an array that can include this quoted enumeration value (and also may include alternate values) "MODULATE4X" (Java syntax) or '"MODULATE4X"' (XML syntax).
    static final String
    MFString field named mode with X3DUOM simpleType multiTextureModeValues and with X3DUOM baseType MFString 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 final String
    MFString field named mode with X3DUOM simpleType multiTextureModeValues and with X3DUOM baseType MFString 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 final String
    MFString field named mode with X3DUOM simpleType multiTextureModeValues and with X3DUOM baseType MFString 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 final String
    MFString field named mode with X3DUOM simpleType multiTextureModeValues and with X3DUOM baseType MFString is an array that can include this quoted enumeration value (and also may include alternate values) "OFF" (Java syntax) or '"OFF"' (XML syntax).
    static final String
    MFString field named mode with X3DUOM simpleType multiTextureModeValues and with X3DUOM baseType MFString is an array that can include this quoted enumeration value (and also may include alternate values) "REPLACE" (Java syntax) or '"REPLACE"' (XML syntax).
    static final String
    MFString field named mode with X3DUOM simpleType multiTextureModeValues and with X3DUOM baseType MFString is an array that can include this quoted enumeration value (and also may include alternate values) "SELECTARG1" (Java syntax) or '"SELECTARG1"' (XML syntax).
    static final String
    MFString field named mode with X3DUOM simpleType multiTextureModeValues and with X3DUOM baseType MFString is an array that can include this quoted enumeration value (and also may include alternate values) "SELECTARG2" (Java syntax) or '"SELECTARG2"' (XML syntax).
    static final String
    MFString field named mode with X3DUOM simpleType multiTextureModeValues and with X3DUOM baseType MFString is an array that can include this quoted enumeration value (and also may include alternate values) "SUBTRACT" (Java syntax) or '"SUBTRACT"' (XML syntax).
    static final String
    String constant NAME provides name of this element: MultiTexture.
    static final String
    MFString field named source with X3DUOM simpleType multiTextureSourceValues and with X3DUOM baseType MFString is an array that can include this quoted enumeration value (and also may include alternate values) "" (Java syntax) or '""' (XML syntax).
    static final String
    MFString field named source with X3DUOM simpleType multiTextureSourceValues and with X3DUOM baseType MFString is an array that can include this quoted enumeration value (and also may include alternate values) "DIFFUSE" (Java syntax) or '"DIFFUSE"' (XML syntax).
    static final String
    MFString field named source with X3DUOM simpleType multiTextureSourceValues and with X3DUOM baseType MFString is an array that can include this quoted enumeration value (and also may include alternate values) "FACTOR" (Java syntax) or '"FACTOR"' (XML syntax).
    static final String
    MFString field named source with X3DUOM simpleType multiTextureSourceValues and with X3DUOM baseType MFString is an array that can include this quoted enumeration value (and also may include alternate values) "SPECULAR" (Java syntax) or '"SPECULAR"' (XML syntax).
    static final String
    toField ROUTE name for SFFloat field named alpha.
    static final String
    toField ROUTE name for SFColor field named color.
    static final String
    toField ROUTE name for SFString field named description.
    static final String
    toField ROUTE name for MFString field named function.
    static final String
    toField ROUTE name for SFNode field named metadata.
    static final String
    toField ROUTE name for MFString field named mode.
    static final String
    toField ROUTE name for MFString field named source.
    static final String
    toField ROUTE name for MFNode field named texture.

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

    containerField_ALLOWED_VALUES, containerFieldOverride

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

    validationResult
  • Constructor Summary

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

    Modifier and Type
    Method
    Description
    addComments(String newComment)
    Add comment as String to contained commentsList.
    addComments(String[] newComments)
    Add comments as String[] array to contained commentsList.
    addComments(CommentsBlock newCommentsBlock)
    Add CommentsBlock to contained commentsList.
    addFunction(String newValue)
    Add singleton String value to MFString function field, not allowing duplicate or empty string values in this controlled enumeration field.
    Add singleton SFString value to MFString function field, not allowing duplicate or empty string values in this controlled enumeration field.
    addMode(String newValue)
    Add singleton String value to MFString mode field, not allowing duplicate or empty string values in this controlled enumeration field.
    addMode(SFString newValue)
    Add singleton SFString value to MFString mode field, not allowing duplicate or empty string values in this controlled enumeration field.
    addSource(String newValue)
    Add singleton String value to MFString source field, not allowing duplicate or empty string values in this controlled enumeration field.
    addSource(SFString newValue)
    Add singleton SFString value to MFString source field, not allowing duplicate or empty string values in this controlled enumeration field.
    Add single ProtoInstance (with appropriate node type and containerField value) to MFNode array for texture field.
    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).
    Utility method to clear MFString value of function field.
    Utility method to clear SFNode value of IS field.
    Utility method to clear SFNode value of metadata field.
    Utility method to clear MFString value of mode field.
    Utility method to clear MFString value of source field.
    Utility method to clear MFNode value of texture field.
    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.
    findElementByNameValue(String nameValue, 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.
    Recursive method to provide object reference to node by DEF, if found as this node or in a contained node.
    getAccessType(String fieldName)
    Indicate accessType corresponding to given fieldName.
    float
    Provide float value within allowed range of [0,1] from inputOutput SFFloat field named alpha.
    static final float
    Public accessor for encapsulated SFFloat default value 1f, returned as float.
    float[]
    Provide array of 3-tuple float results using RGB values [0..1] using RGB values [0..1] from inputOutput SFColor field named color.
    static final float[]
    Public accessor for encapsulated SFColor default value {1f,1f,1f}, returned as float array.
    final String
    Defines X3D component for the MultiTexture element: Texturing
    final int
    Provides default X3D component level for this element: 2
    final String
    containerField describes typical field relationship of a node to its parent.
    Provide String value from inputOutput SFString field named class.
    Provide String value from inputOutput SFString field named style.
    Provide String value from inputOutput SFString field named DEF.
    Provide String value from inputOutput SFString field named description.
    static final String
    Public accessor for encapsulated SFString default value, returned as String.
    final String
    Provides name of this element: MultiTexture
    getFieldType(String fieldName)
    Indicate type corresponding to given fieldName.
    Provide array of String enumeration results (baseType MFString) ['"COMPLEMENT"' | '"ALPHAREPLICATE"' | '""' | '"etc."'] from inputOutput MFString field named function.
    static final String[]
    Public accessor for encapsulated MFString default value array, returned as String array.
    static final ArrayList<String>
    Public accessor for encapsulated MFString default value , returned as ArrayList
    Utility method to get ArrayList value of MFString function field, similar to getFunction().
    Utility method to get String value of MFString function field, similar to getFunction().
    Provide String value from inputOutput SFString field named id.
    Provide IS instance (using a properly typed node) from inputOutput SFNode field IS.
    static final IS
    Public accessor for encapsulated SFNode default value null, returned as IS.
    Provide org.web3d.x3d.sai.Core.X3DMetadataObject instance (using a properly typed node) from inputOutput SFNode field metadata.
    static final X3DMetadataObject
    Public accessor for encapsulated SFNode default value null, returned as org.web3d.x3d.sai.Core.X3DMetadataObject.
    Provide array of String enumeration results (baseType MFString) ['"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.
    static final String[]
    Public accessor for encapsulated MFString default value array, returned as String array.
    static final ArrayList<String>
    Public accessor for encapsulated MFString default value , returned as ArrayList
    Utility method to get ArrayList value of MFString mode field, similar to getMode().
    Utility method to get String value of MFString mode field, similar to getMode().
    Provide array of String enumeration results (baseType MFString) ['"DIFFUSE"' | '"FACTOR"' | '"SPECULAR"' | '""' | '"etc."'] from inputOutput MFString field named source.
    static final String[]
    Public accessor for encapsulated MFString default value array, returned as String array.
    static final ArrayList<String>
    Public accessor for encapsulated MFString default value , returned as ArrayList
    Utility method to get ArrayList value of MFString source field, similar to getSource().
    Utility method to get String value of MFString source field, similar to getSource().
    Provide array of org.web3d.x3d.sai.Texturing.X3DSingleTextureNode results (using an array consisting of properly typed nodes or ProtoInstances) from inputOutput MFNode field texture.
    Utility method to get ArrayList value of MFNode texture field, similar to getTexture().
    Provide String value from inputOutput SFString field named USE.
    boolean
    hasElementByNameValue(String nameValue, 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
    Indicate whether an object is available for inputOutput SFNode field IS.
    boolean
    Indicate whether an object is available for inputOutput SFNode field metadata.
    boolean
    hasNodeByDEF(String DEFvalue)
    Recursive method to determine whether node with DEFvalue is found, meaning both objects are attached to same scene graph.
    boolean
    Indicate whether an object is available for inputOutput MFNode field texture.
    final void
    Initialize all member variables to default values.
    setAlpha(double newValue)
    Utility method: double-precision set-parameter accessor for X3D floating-point type, similar to setAlpha(float).
    setAlpha(float newValue)
    Accessor method to assign float value to inputOutput SFFloat field named alpha.
    setAlpha(SFFloat newValue)
    Assign typed object value to SFFloat alpha field, similar to setAlpha(float).
    setColor(double[] newArray)
    Utility method: double-precision set-parameters accessor for X3D floating-point type, similar to setColor(float[]).
    setColor(double red, double green, double blue)
    Utility method: double-precision set-parameters accessor for X3D floating-point type, similar to setColor(float[]).
    setColor(float[] newValue)
    Accessor method to assign 3-tuple float array using RGB values [0..1] to inputOutput SFColor field named color.
    setColor(float red, float green, float blue)
    Assign values to SFColor color field, similar to setColor(float[]).
    setColor(SFColor newValue)
    Assign typed object value to SFColor color field, similar to setColor(float[]).
    setCssClass(String newValue)
    Accessor method to assign String value to inputOutput SFString field named class.
    Assign typed object value to SFString cssClass field, similar to setCssClass(String).
    setCssStyle(String newValue)
    Accessor method to assign String value to inputOutput SFString field named style.
    Assign typed object value to SFString cssClass field, similar to setCssStyle(String).
    setDEF(String newValue)
    Accessor method to assign String value to inputOutput SFString field named DEF.
    setDEF(SFString newValue)
    Assign typed object value to SFString DEF field, similar to setDEF(String).
    Accessor method to assign String value to inputOutput SFString field named description.
    Assign typed object value to SFString description field, similar to setDescription(String).
    setFunction(String newValue)
    Assign singleton String value to MFString function field, similar to setFunction(String[]).
    setFunction(String[] newValue)
    Accessor method to assign String enumeration array (""COMPLEMENT"" | ""ALPHAREPLICATE"" | """") to inputOutput MFString field named function.
    Assign ArrayList value of MFString function field, similar to setFunction(String[]).
    Assign typed object value to MFString function field, similar to setFunction(String[]).
    Assign single SFString object value to MFString function field, similar to setFunction(String[]).
    setHtmlId(String newValue)
    Accessor method to assign String value to inputOutput SFString field named id.
    setHtmlId(SFString newValue)
    Assign typed object value to SFString HtmlId field, similar to setHtmlId(String).
    setIS(IS newValue)
    Accessor method to assign IS instance (using a properly typed node) to inputOutput SFNode field IS.
    Assign ProtoInstance (using a properly typed node) to inputOutput SFNode field metadata.
    Accessor method to assign org.web3d.x3d.sai.Core.X3DMetadataObject instance (using a properly typed node) to inputOutput SFNode field metadata.
    setMode(String newValue)
    Assign singleton String value to MFString mode field, similar to setMode(String[]).
    setMode(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.
    Assign ArrayList value of MFString mode field, similar to setMode(String[]).
    setMode(MFString newValue)
    Assign typed object value to MFString mode field, similar to setMode(String[]).
    setMode(SFString newValue)
    Assign single SFString object value to MFString mode field, similar to setMode(String[]).
    setSource(String newValue)
    Assign singleton String value to MFString source field, similar to setSource(String[]).
    setSource(String[] newValue)
    Accessor method to assign String enumeration array (""DIFFUSE"" | ""FACTOR"" | ""SPECULAR"" | """") to inputOutput MFString field named source.
    Assign ArrayList value of MFString source field, similar to setSource(String[]).
    setSource(MFString newValue)
    Assign typed object value to MFString source field, similar to setSource(String[]).
    setSource(SFString newValue)
    Assign single SFString object value to MFString source field, similar to setSource(String[]).
    Assign ArrayList value of MFNode texture field, similar to setTexture(org.web3d.x3d.sai.Core.X3DNode[]).
    void
    setTexture(X3DNode newValue)
    Set single child texture node, replacing prior array of existing nodes (if any).
    setTexture(X3DNode[] newValue)
    Accessor method to assign org.web3d.x3d.sai.Texturing.X3DSingleTextureNode array (using an array consisting of properly typed nodes or ProtoInstances) to inputOutput MFNode field texture.
    setUSE(String newValue)
    Accessor method to assign String value to inputOutput SFString field named USE.
    setUSE(SFString newValue)
    Assign typed object value to SFString USE field, similar to setUSE(String).
    Assign a USE reference to another DEF node of same node type, similar to setUSE(String).
    toStringClassicVRML(int indentLevel)
    Recursive method to provide ClassicVRML string serialization.
    toStringVRML97(int indentLevel)
    Recursive method to provide VRML97 string serialization.
    toStringX3D(int indentLevel)
    Recursive method to provide X3D string serialization of this model subgraph, utilizing XML encoding and conforming to X3D Canonical Form.
    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

    • FUNCTION_COMPLEMENT

      public static final String FUNCTION_COMPLEMENT
      Tooltip: Invert argument x as (1 - x). MFString field named function with X3DUOM simpleType multiTextureFunctionValues and with X3DUOM baseType MFString 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:
    • FUNCTION_ALPHAREPLICATE

      public static final String FUNCTION_ALPHAREPLICATE
      Tooltip: Replicate alpha information to all color channels before operation completes. MFString field named function with X3DUOM simpleType multiTextureFunctionValues and with X3DUOM baseType MFString 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:
    • FUNCTION_

      public static final String FUNCTION_
      Tooltip: No function is applied - empty SFString is allowed value within MFString array. MFString field named function with X3DUOM simpleType multiTextureFunctionValues and with X3DUOM baseType MFString is an array that can include this quoted enumeration value (and also may include alternate values) "" (Java syntax) or '""' (XML syntax).
      See Also:
    • MODE_ADD

      public static final String MODE_ADD
      MFString field named mode with X3DUOM simpleType multiTextureModeValues and with X3DUOM baseType MFString 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:
    • MODE_ADDSIGNED

      public static final String MODE_ADDSIGNED
      MFString field named mode with X3DUOM simpleType multiTextureModeValues and with X3DUOM baseType MFString 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:
    • MODE_ADDSIGNED2X

      public static final String MODE_ADDSIGNED2X
      MFString field named mode with X3DUOM simpleType multiTextureModeValues and with X3DUOM baseType MFString 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:
    • MODE_ADDSMOOTH

      public static final String MODE_ADDSMOOTH
      MFString field named mode with X3DUOM simpleType multiTextureModeValues and with X3DUOM baseType MFString 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:
    • MODE_BLENDCURRENTALPHA

      public static final String MODE_BLENDCURRENTALPHA
      MFString field named mode with X3DUOM simpleType multiTextureModeValues and with X3DUOM baseType MFString 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:
    • MODE_BLENDDIFFUSEALPHA

      public static final String MODE_BLENDDIFFUSEALPHA
      MFString field named mode with X3DUOM simpleType multiTextureModeValues and with X3DUOM baseType MFString 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:
    • MODE_BLENDFACTORALPHA

      public static final String MODE_BLENDFACTORALPHA
      MFString field named mode with X3DUOM simpleType multiTextureModeValues and with X3DUOM baseType MFString 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:
    • MODE_BLENDTEXTUREALPHA

      public static final String MODE_BLENDTEXTUREALPHA
      MFString field named mode with X3DUOM simpleType multiTextureModeValues and with X3DUOM baseType MFString 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:
    • MODE_DOTPRODUCT3

      public static final String MODE_DOTPRODUCT3
      MFString field named mode with X3DUOM simpleType multiTextureModeValues and with X3DUOM baseType MFString 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:
    • MODE_MODULATE

      public static final String MODE_MODULATE
      MFString field named mode with X3DUOM simpleType multiTextureModeValues and with X3DUOM baseType MFString 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:
    • MODE_MODULATE2X

      public static final String MODE_MODULATE2X
      MFString field named mode with X3DUOM simpleType multiTextureModeValues and with X3DUOM baseType MFString 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:
    • MODE_MODULATE4X

      public static final String MODE_MODULATE4X
      MFString field named mode with X3DUOM simpleType multiTextureModeValues and with X3DUOM baseType MFString 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:
    • MODE_MODULATEALPHA_ADDCOLOR

      public static final String MODE_MODULATEALPHA_ADDCOLOR
      MFString field named mode with X3DUOM simpleType multiTextureModeValues and with X3DUOM baseType MFString 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:
    • MODE_MODULATEINVALPHA_ADDCOLOR

      public static final String MODE_MODULATEINVALPHA_ADDCOLOR
      MFString field named mode with X3DUOM simpleType multiTextureModeValues and with X3DUOM baseType MFString 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:
    • MODE_MODULATEINVCOLOR_ADDALPHA

      public static final String MODE_MODULATEINVCOLOR_ADDALPHA
      MFString field named mode with X3DUOM simpleType multiTextureModeValues and with X3DUOM baseType MFString 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:
    • MODE_OFF

      public static final String MODE_OFF
      MFString field named mode with X3DUOM simpleType multiTextureModeValues and with X3DUOM baseType MFString 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:
    • MODE_REPLACE

      public static final String MODE_REPLACE
      MFString field named mode with X3DUOM simpleType multiTextureModeValues and with X3DUOM baseType MFString 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:
    • MODE_SELECTARG1

      public static final String MODE_SELECTARG1
      MFString field named mode with X3DUOM simpleType multiTextureModeValues and with X3DUOM baseType MFString 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:
    • MODE_SELECTARG2

      public static final String MODE_SELECTARG2
      MFString field named mode with X3DUOM simpleType multiTextureModeValues and with X3DUOM baseType MFString 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:
    • MODE_SUBTRACT

      public static final String MODE_SUBTRACT
      MFString field named mode with X3DUOM simpleType multiTextureModeValues and with X3DUOM baseType MFString 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:
    • SOURCE_DIFFUSE

      public static final String SOURCE_DIFFUSE
      MFString field named source with X3DUOM simpleType multiTextureSourceValues and with X3DUOM baseType MFString 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:
    • SOURCE_FACTOR

      public static final String SOURCE_FACTOR
      MFString field named source with X3DUOM simpleType multiTextureSourceValues and with X3DUOM baseType MFString 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:
    • SOURCE_SPECULAR

      public static final String SOURCE_SPECULAR
      MFString field named source with X3DUOM simpleType multiTextureSourceValues and with X3DUOM baseType MFString 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:
    • SOURCE_

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

      public static final String NAME
      String constant NAME provides name of this element: MultiTexture.
      See Also:
    • COMPONENT

      public static final String COMPONENT
      String constant COMPONENT defines X3D component for the MultiTexture element: Texturing
      See Also:
    • LEVEL

      public static final int LEVEL
      Integer constant LEVEL provides default X3D Texturing component level for this element: 2
      See Also:
    • 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:
    • 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).
    • DESCRIPTION_DEFAULT_VALUE

      public static final String DESCRIPTION_DEFAULT_VALUE
      SFString field named description has default value equal to an empty string.
      See Also:
    • IS_DEFAULT_VALUE

      public static final IS 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).
    • containerField_DEFAULT_VALUE

      public static final String containerField_DEFAULT_VALUE
      containerField describes typical field relationship of a node to its parent. Usage is not ordinarily needed when using this API, this default value is provided for informational purposes only.
      containerField_DEFAULT_VALUE = "texture";
      containerField_ALLOWED_VALUES = {"texture" }; type X3DUOM containerFieldChoicesX3DTexture2DNode
      See Also:
    • fromField_ALPHA

      public static final String fromField_ALPHA
      fromField ROUTE name for SFFloat field named alpha.
      See Also:
    • toField_ALPHA

      public static final String toField_ALPHA
      toField ROUTE name for SFFloat field named alpha.
      See Also:
    • fromField_COLOR

      public static final String fromField_COLOR
      fromField ROUTE name for SFColor field named color.
      See Also:
    • toField_COLOR

      public static final String toField_COLOR
      toField ROUTE name for SFColor field named color.
      See Also:
    • fromField_DESCRIPTION

      public static final String fromField_DESCRIPTION
      fromField ROUTE name for SFString field named description.
      See Also:
    • toField_DESCRIPTION

      public static final String toField_DESCRIPTION
      toField ROUTE name for SFString field named description.
      See Also:
    • fromField_FUNCTION

      public static final String fromField_FUNCTION
      fromField ROUTE name for MFString field named function.
      See Also:
    • toField_FUNCTION

      public static final String toField_FUNCTION
      toField ROUTE name for MFString field named function.
      See Also:
    • fromField_IS

      public static final String fromField_IS
      fromField ROUTE name for SFNode field named IS.
      See Also:
    • fromField_METADATA

      public static final String fromField_METADATA
      fromField ROUTE name for SFNode field named metadata.
      See Also:
    • toField_METADATA

      public static final String toField_METADATA
      toField ROUTE name for SFNode field named metadata.
      See Also:
    • fromField_MODE

      public static final String fromField_MODE
      fromField ROUTE name for MFString field named mode.
      See Also:
    • toField_MODE

      public static final String toField_MODE
      toField ROUTE name for MFString field named mode.
      See Also:
    • fromField_SOURCE

      public static final String fromField_SOURCE
      fromField ROUTE name for MFString field named source.
      See Also:
    • toField_SOURCE

      public static final String toField_SOURCE
      toField ROUTE name for MFString field named source.
      See Also:
    • fromField_TEXTURE

      public static final String fromField_TEXTURE
      fromField ROUTE name for MFNode field named texture.
      See Also:
    • toField_TEXTURE

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

    • MultiTexture

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

      public MultiTexture(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