Class MultiTextureObject

    • 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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.
    • 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.
    • Field Detail

      • 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 alternate values) "SUBTRACT" (Java syntax) or '"SUBTRACT"' (XML syntax).
        See Also:
        multiTextureModeValues, Constant Field Values
      • 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 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 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 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 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.
      • 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 Detail

      • 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 Detail

      • getElementName

        public final java.lang.String getElementName()
        Provides name of this element: MultiTexture
        Specified by:
        getElementName in class X3DConcreteElement
        Returns:
        name of this element
      • getComponent

        public final java.lang.String getComponent()
        Defines X3D component for the MultiTexture element: Texturing
        Specified by:
        getComponent in class X3DConcreteElement
        Returns:
        X3D component for this element
      • getComponentLevel

        public final int getComponentLevel()
        Provides default X3D component level for this element: 2
        Specified by:
        getComponentLevel in class X3DConcreteElement
        Returns:
        default X3D component level for this element
      • getFieldType

        public java.lang.String getFieldType​(java.lang.String fieldName)
        Indicate type corresponding to given fieldName.
        Specified by:
        getFieldType in class X3DConcreteElement
        Parameters:
        fieldName - name of field in this X3D node
        Returns:
        X3D type (SFvec3f etc.), otherwise ConfigurationProperties.ERROR_UNKNOWN_FIELD_TYPE if not recognized
        See Also:
        ConfigurationProperties.ERROR_UNKNOWN_FIELD_TYPE
      • getAccessType

        public java.lang.String getAccessType​(java.lang.String fieldName)
        Indicate accessType corresponding to given fieldName.
        Specified by:
        getAccessType in class X3DConcreteElement
        Parameters:
        fieldName - name of field in this X3D node
        Returns:
        X3D accessType (inputOnly etc.), otherwise ConfigurationProperties.ERROR_UNKNOWN_FIELD_ACCESSTYPE if not recognized
        See Also:
        ConfigurationProperties.ERROR_UNKNOWN_FIELD_ACCESSTYPE
      • initialize

        public final void initialize()
        Initialize all member variables to default values.
        Overrides:
        initialize in class X3DConcreteNode
      • getAlpha

        public float getAlpha()
        Provide float value within allowed range of [0,1] from inputOutput SFFloat field named alpha.

        Tooltip: [0,1] The alpha field defines the alpha (1-transparency) base value for mode operations. *
        Specified by:
        getAlpha in interface MultiTexture
        Returns:
        value of alpha field
      • setAlpha

        public MultiTextureObject setAlpha​(float newValue)
        Accessor method to assign float value to inputOutput SFFloat field named alpha.

        Tooltip: [0,1] The alpha field defines the alpha (1-transparency) base value for mode operations. *
        Specified by:
        setAlpha in interface MultiTexture
        Parameters:
        newValue - is new value for the alpha field.
        Returns:
        MultiTextureObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
      • setAlpha

        public MultiTextureObject setAlpha​(SFFloatObject newValue)
        Assign typed object value to SFFloat alpha field, similar to setAlpha(float).
        Parameters:
        newValue - is new value for the alpha field.
        Returns:
        MultiTextureObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
      • setAlpha

        public MultiTextureObject setAlpha​(double newValue)
        Utility method: double-precision set-parameter accessor for X3D floating-point type, similar to setAlpha(float).
        Parameters:
        newValue - is new value for field
        Returns:
        MultiTextureObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
      • setColor

        public MultiTextureObject setColor​(SFColorObject newValue)
        Assign typed object value to SFColor color field, similar to setColor(float[]).
        Parameters:
        newValue - is new value for the color field.
        Returns:
        MultiTextureObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
      • setColor

        public MultiTextureObject setColor​(float red,
                                           float green,
                                           float blue)
        Assign values to SFColor color field, similar to setColor(float[]).
        Parameters:
        red - first component
        green - second component
        blue - third component
        Returns:
        MultiTextureObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
      • setColor

        public MultiTextureObject setColor​(double red,
                                           double green,
                                           double blue)
        Utility method: double-precision set-parameters accessor for X3D floating-point type, similar to setColor(float[]).
        Parameters:
        red - first component [0..1]
        green - second component [0..1]
        blue - third component [0..1]
        Returns:
        MultiTextureObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
      • setColor

        public MultiTextureObject setColor​(double[] newArray)
        Utility method: double-precision set-parameters accessor for X3D floating-point type, similar to setColor(float[]).
        Parameters:
        newArray - is new value for field
        Returns:
        MultiTextureObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
      • getFunction

        public java.lang.String[] getFunction()
        Provide array of String enumeration results ( baseType multiTextureFunctionValues) [""COMPLEMENT"" | ""ALPHAREPLICATE"" | """" | '"etc."'] from inputOutput MFString field named function.

        Tooltip: function operators COMPLEMENT or ALPHAREPLICATE can be applied after the mode blending operation. Empty string value "" indicates that no function operation is applied for that stage.

        Available enumeration values for string comparison: COMPLEMENT, ALPHAREPLICATE, FUNCTION_.
        Specified by:
        getFunction in interface MultiTexture
        Returns:
        value of function field
      • getFunctionList

        public java.util.ArrayList<java.lang.String> getFunctionList()
        Utility method to get ArrayList value of MFString function field, similar to getFunction().
        Returns:
        value of function field
      • setFunction

        public MultiTextureObject setFunction​(java.lang.String[] newValue)
        Accessor method to assign String enumeration array (""COMPLEMENT"" | ""ALPHAREPLICATE"" | """") to inputOutput MFString field named function.

        Hint: authors have option to choose from an extendible list of predefined enumeration values (COMPLEMENT, ALPHAREPLICATE, FUNCTION_).

        Tooltip: function operators COMPLEMENT or ALPHAREPLICATE can be applied after the mode blending operation. Empty string value "" indicates that no function operation is applied for that stage.
        Specified by:
        setFunction in interface MultiTexture
        Parameters:
        newValue - is new value for the function field.
        Returns:
        MultiTextureObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
      • setFunction

        public MultiTextureObject setFunction​(MFStringObject newValue)
        Assign typed object value to MFString function field, similar to setFunction(String[]).
        Parameters:
        newValue - is new value for the function field.
        Returns:
        MultiTextureObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
      • setFunction

        public MultiTextureObject setFunction​(java.util.ArrayList<java.lang.String> newValue)
        Assign ArrayList value of MFString function field, similar to setFunction(String[]).
        Parameters:
        newValue - is new value for the function field.
        Returns:
        MultiTextureObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
      • clearFunction

        public MultiTextureObject clearFunction()
        Utility method to clear MFString value of function field.
        Returns:
        MultiTextureObject - namely this same object to allow sequential method pipelining (i.e. consecutive setAttribute method invocations).
      • clearIS

        public MultiTextureObject clearIS()
        Utility method to clear SFNode value of IS field.
        Returns:
        MultiTextureObject - namely this same object to allow sequential method pipelining (i.e. consecutive setAttribute method invocations).
      • hasIS

        public boolean hasIS()
        Indicate whether an object is available for inputOutput SFNode field IS.
        Returns:
        whether a concrete statement or CommentsBlock is available.
        See Also:
        getIS()
      • clearMetadata

        public MultiTextureObject clearMetadata()
        Utility method to clear SFNode value of metadata field.
        Returns:
        MultiTextureObject - namely this same object to allow sequential method pipelining (i.e. consecutive setAttribute method invocations).
      • hasMetadata

        public boolean hasMetadata()
        Indicate whether an object is available for inputOutput SFNode field metadata.
        Returns:
        whether a properly typed node or ProtoInstance or CommentsBlock is available.
        See Also:
        getMetadata(), getMetadataProtoInstance(), X3D Scene Authoring Hints: Metadata Nodes
      • getModeList

        public java.util.ArrayList<java.lang.String> getModeList()
        Utility method to get ArrayList value of MFString mode field, similar to getMode().
        Returns:
        value of mode field
      • setMode

        public MultiTextureObject setMode​(MFStringObject newValue)
        Assign typed object value to MFString mode field, similar to setMode(String[]).
        Parameters:
        newValue - is new value for the mode field.
        Returns:
        MultiTextureObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
      • setMode

        public MultiTextureObject setMode​(java.util.ArrayList<java.lang.String> newValue)
        Assign ArrayList value of MFString mode field, similar to setMode(String[]).
        Parameters:
        newValue - is new value for the mode field.
        Returns:
        MultiTextureObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
      • clearMode

        public MultiTextureObject clearMode()
        Utility method to clear MFString value of mode field.
        Returns:
        MultiTextureObject - namely this same object to allow sequential method pipelining (i.e. consecutive setAttribute method invocations).
      • getSource

        public java.lang.String[] getSource()
        Provide array of String enumeration results ( baseType multiTextureSourceValues) [""DIFFUSE"" | ""FACTOR"" | ""SPECULAR"" | """" | '"etc."'] from inputOutput MFString field named source.

        Tooltip: source field determines whether each image source is treated as DIFFUSE, SPECULAR or a multiplicative FACTOR. Empty string value "" indicates that no source modifier is applied for that stage.

        Available enumeration values for string comparison: DIFFUSE, FACTOR, SPECULAR, SOURCE_.
        Specified by:
        getSource in interface MultiTexture
        Returns:
        value of source field
      • getSourceList

        public java.util.ArrayList<java.lang.String> getSourceList()
        Utility method to get ArrayList value of MFString source field, similar to getSource().
        Returns:
        value of source field
      • setSource

        public MultiTextureObject setSource​(java.lang.String[] newValue)
        Accessor method to assign String enumeration array (""DIFFUSE"" | ""FACTOR"" | ""SPECULAR"" | """") to inputOutput MFString field named source.

        Hint: authors have option to choose from an extendible list of predefined enumeration values (DIFFUSE, FACTOR, SPECULAR, SOURCE_).

        Tooltip: source field determines whether each image source is treated as DIFFUSE, SPECULAR or a multiplicative FACTOR. Empty string value "" indicates that no source modifier is applied for that stage.
        Specified by:
        setSource in interface MultiTexture
        Parameters:
        newValue - is new value for the source field.
        Returns:
        MultiTextureObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
      • setSource

        public MultiTextureObject setSource​(MFStringObject newValue)
        Assign typed object value to MFString source field, similar to setSource(String[]).
        Parameters:
        newValue - is new value for the source field.
        Returns:
        MultiTextureObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
      • setSource

        public MultiTextureObject setSource​(java.util.ArrayList<java.lang.String> newValue)
        Assign ArrayList value of MFString source field, similar to setSource(String[]).
        Parameters:
        newValue - is new value for the source field.
        Returns:
        MultiTextureObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
      • clearSource

        public MultiTextureObject clearSource()
        Utility method to clear MFString value of source field.
        Returns:
        MultiTextureObject - namely this same object to allow sequential method pipelining (i.e. consecutive setAttribute method invocations).
      • getTextureList

        public java.util.ArrayList<X3DNode> getTextureList()
        Utility method to get ArrayList value of MFNode texture field, similar to getTexture().
        Returns:
        value of texture field
      • setTexture

        public MultiTextureObject setTexture​(java.util.ArrayList<X3DTextureNode> newValue)
        Assign ArrayList value of MFNode texture field, similar to setTexture(X3DNode[]).
        Parameters:
        newValue - is new value for the texture field.
        Returns:
        MultiTextureObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
      • addTexture

        public MultiTextureObject addTexture​(X3DNode newValue)
        Add single child node to existing array of texture nodes (if any).

        Note: according to X3D Unified Object Model (X3DUOM), acceptable node types are limited to X3DTextureNode and ProtoInstance.
        Parameters:
        newValue - is new value to be appended the texture field.
        Returns:
        MultiTextureObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
      • addTexture

        public MultiTextureObject addTexture​(ProtoInstanceObject newValue)
        Add single ProtoInstanceObject (with appropriate node type and containerField value) to MFNode array for texture field.

        Note: according to X3D Unified Object Model (X3DUOM), acceptable node types are limited to ShaderPart and ProtoInstance.
        Parameters:
        newValue - is new value to be appended the parts field.
        Returns:
        MultiTextureObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
      • addTexture

        public void addTexture​(X3DNode[] newValue)
        Add array of child texture nodes to array of existing nodes (if any).

        Note: according to X3D Unified Object Model (X3DUOM), acceptable node types are limited to X3DTextureNode.
        Specified by:
        addTexture in interface MultiTexture
        Parameters:
        newValue - is new value array to be appended the texture field.
      • setTexture

        public void setTexture​(X3DNode newValue)
        Set single child texture node, replacing prior array of existing nodes (if any).

        Note: according to X3D Unified Object Model (X3DUOM), acceptable node types are restricted to X3DTextureNode.
        Specified by:
        setTexture in interface MultiTexture
        Parameters:
        newValue - is new node for the texture field (restricted to X3DTextureNode)
      • clearTexture

        public MultiTextureObject clearTexture()
        Utility method to clear MFNode value of texture field.
        Returns:
        MultiTextureObject - namely this same object to allow sequential method pipelining (i.e. consecutive setAttribute method invocations).
      • hasTexture

        public boolean hasTexture()
        Indicate whether an object is available for inputOutput MFNode field texture.
        Returns:
        whether a properly typed node or ProtoInstance array or CommentsBlock is available.
        See Also:
        getTexture()
      • setDEF

        public final MultiTextureObject setDEF​(java.lang.String newValue)
        Accessor method to assign String value to inputOutput SFString field named DEF.

        Tooltip: DEF defines a unique ID name for this node, referenceable by other nodes.

        Note that setting the DEF value clears the USE value.
        Specified by:
        setDEF in class X3DConcreteNode
        Parameters:
        newValue - is new value for the DEF field.
        Returns:
        MultiTextureObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
      • setDEF

        public MultiTextureObject setDEF​(SFStringObject newValue)
        Assign typed object value to SFString DEF field, similar to setDEF(String).
        Parameters:
        newValue - is new value for the DEF field.
        Returns:
        MultiTextureObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
      • getUSE

        public java.lang.String getUSE()
        Provide String value from inputOutput SFString field named USE.

        Tooltip: USE means reuse an already DEF-ed node ID, excluding all child nodes and all other attributes (except for containerField, which can have a different value).
        • Hint: USE references to previously defined DEF geometry (instead of duplicating nodes) can improve performance.
        • Warning: do NOT include any child nodes, a DEF attribute, or any other attribute values (except for containerField) when defining a USE attribute.
        • Warning: each USE value must match a corresponding DEF value that is defined earlier in the scene.
        Overrides:
        getUSE in class X3DConcreteNode
        Returns:
        value of USE field
        See Also:
        X3D Scene Authoring Hints: Naming Conventions
      • setUSE

        public final MultiTextureObject setUSE​(java.lang.String newValue)
        Accessor method to assign String value to inputOutput SFString field named USE.

        Tooltip: USE means reuse an already DEF-ed node ID, excluding all child nodes and all other attributes (except for containerField, which can have a different value).
        • Hint: USE references to previously defined DEF geometry (instead of duplicating nodes) can improve performance.
        • Warning: do NOT include any child nodes, a DEF attribute, or any other attribute values (except for containerField) when defining a USE attribute.
        • Warning: each USE value must match a corresponding DEF value that is defined earlier in the scene.


        Note: each USE node is still an independent object, with the USE value matching the DEF value in the preceding object.

        Warning: invoking the setUSE() method on this node resets all other fields to their default values (except for containerField) and also releases all child nodes.

        Warning: no other operations can be performed to modify a USE node other than setting an alternate containerField value.
        Specified by:
        setUSE in class X3DConcreteNode
        Parameters:
        newValue - is new value for the USE field.
        Returns:
        MultiTextureObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
      • setUSE

        public MultiTextureObject setUSE​(SFStringObject newValue)
        Assign typed object value to SFString USE field, similar to setUSE(String).
        Parameters:
        newValue - is new value for the USE field.
        Returns:
        MultiTextureObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
      • getCssClass

        public java.lang.String getCssClass()
        Provide String value from inputOutput SFString field named class.

        Tooltip: The class attribute is a space-separated list of classes, reserved for use by CSS cascading stylesheets.
        • Warning: currently the class attribute is only supported in XML encoding of X3D scenes.
        • Hint: W3C Cascading Style Sheets https://www.w3.org/Style/CSS
        Overrides:
        getCssClass in class X3DConcreteNode
        Returns:
        value of class field
        See Also:
        W3C Cascading Style Sheets
      • setCssClass

        public final MultiTextureObject setCssClass​(java.lang.String newValue)
        Accessor method to assign String value to inputOutput SFString field named class.

        Tooltip: The class attribute is a space-separated list of classes, reserved for use by CSS cascading stylesheets.
        • Warning: currently the class attribute is only supported in XML encoding of X3D scenes.
        • Hint: W3C Cascading Style Sheets https://www.w3.org/Style/CSS
        Specified by:
        setCssClass in class X3DConcreteNode
        Parameters:
        newValue - is new value for the class field.
        Returns:
        MultiTextureObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
        See Also:
        W3C Cascading Style Sheets
      • setCssClass

        public MultiTextureObject setCssClass​(SFStringObject newValue)
        Assign typed object value to SFString cssClass field, similar to setCssClass(String).
        Parameters:
        newValue - is new value for the class field.
        Returns:
        MultiTextureObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
      • setUSE

        public MultiTextureObject setUSE​(MultiTextureObject DEFnode)
        Assign a USE reference to another DEF node of same node type, similar to setUSE(String).

        Warning: note that the setUSE() method on this node resets all other fields to their default values (except for containerField) and also releases all child nodes.

        Warning: no other operations can be performed to modify a USE node other than setting an alternate containerField value.
        Parameters:
        DEFnode - must have a DEF value defined
        Returns:
        MultiTextureObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
      • addComments

        public MultiTextureObject addComments​(java.lang.String newComment)
        Add comment as String to contained commentsList.
        Specified by:
        addComments in class X3DConcreteElement
        Parameters:
        newComment - initial value
        Returns:
        MultiTextureObject - namely this same object to allow sequential method pipelining (i.e. consecutive setAttribute method invocations).
      • addComments

        public MultiTextureObject addComments​(java.lang.String[] newComments)
        Add comments as String[] array to contained commentsList.
        Specified by:
        addComments in class X3DConcreteElement
        Parameters:
        newComments - array of comments
        Returns:
        MultiTextureObject - namely this same object to allow sequential method pipelining (i.e. consecutive setAttribute method invocations).
      • addComments

        public MultiTextureObject addComments​(CommentsBlock newCommentsBlock)
        Add CommentsBlock to contained commentsList.
        Specified by:
        addComments in class X3DConcreteElement
        Parameters:
        newCommentsBlock - block of comments to add
        Returns:
        MultiTextureObject - namely this same object to allow sequential method pipelining (i.e. consecutive setAttribute method invocations).
      • findElementByNameValue

        public 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. Elements with name fields include meta, Metadata* nodes, field/fieldValue, ProtoDeclare/ExternProtoDeclare/ProtoInstance, CAD and HAnim nodes.

        Warning: first start with findAncestorSceneObject() to check entire scene graph, or findAncestorX3DObject() to check entire model document.

        Warning: more than one element may be found that has the same name, this method does not handle that case.
        Specified by:
        findElementByNameValue in class X3DConcreteElement
        Parameters:
        nameValue - is value of the name field being searched for in this element and child elements(if any)
        Returns:
        object reference to found element, null otherwise
        See Also:
        findNodeByDEF(String), X3DConcreteElement.hasAncestorSceneObject(), X3DConcreteElement.findAncestorX3DObject()
      • findElementByNameValue

        public 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. Elements with name fields include meta, Metadata* nodes, field/fieldValue, ProtoDeclare/ExternProtoDeclare/ProtoInstance, CAD and HAnim nodes.

        Warning: first start with findAncestorSceneObject() to check entire scene graph, or findAncestorX3DObject() to check entire model document.

        Warning: more than one element may be found that has the same name, this method does not handle that case.
        Specified by:
        findElementByNameValue in class X3DConcreteElement
        Parameters:
        nameValue - is value of the name field being searched for in this element and child elements(if any)
        elementName - identifies the element of interest (meta MetadataString ProtoDeclare CADassembly ProtoInstance HAnimHumanoid etc.)
        Returns:
        object reference to found element, null otherwise
        See Also:
        findNodeByDEF(String), X3DConcreteElement.hasAncestorSceneObject(), X3DConcreteElement.findAncestorX3DObject()
      • hasElementByNameValue

        public 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.
        Parameters:
        nameValue - is value of the name field being searched for in this element and child elements(if any)
        elementName - identifies the element of interest (meta MetadataString ProtoDeclare CADassembly ProtoInstance HAnimHumanoid etc.)
        Returns:
        whether node is found
        See Also:
        findElementByNameValue(String, String)
      • hasNodeByDEF

        public 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.
        Parameters:
        DEFvalue - is value of the name field being searched for in this element and child elements(if any)
        Returns:
        whether node is found
        See Also:
        findNodeByDEF(String)
      • validate

        public 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.
        Specified by:
        validate in class X3DConcreteElement
        Returns:
        validation results (if any)