Interface X3DOneSidedMaterialNode

All Superinterfaces:
X3DAppearanceChildNode, X3DMaterialNode, X3DNode
All Known Subinterfaces:
Material, PhysicalMaterial, UnlitMaterial
All Known Implementing Classes:
Material, PhysicalMaterial, UnlitMaterial

public interface X3DOneSidedMaterialNode extends X3DMaterialNode
Base type for material nodes that describe how the shape looks like from one side. A different number of contanied texture nodes are allowed by each of the implementing nodes.


Package hint: This interface is defined by the X3D Java Language Binding Specification for the Scene Authoring Interface (SAI).
See Also:
SAI Java Specification, X3D Abstract Specification, X3D Tooltips, X3D Scene Authoring Hints
  • Method Details

    • getEmissiveColor

      float[] getEmissiveColor()
      Provide array of 3-tuple float results using RGB values [0..1] using RGB values [0..1] from inputOutput SFColor field named emissiveColor.
      Returns:
      value of emissiveColor field
    • setEmissiveColor

      X3DOneSidedMaterialNode setEmissiveColor(float[] newValue)
      Accessor method to assign 3-tuple float array using RGB values [0..1] to inputOutput SFColor field named emissiveColor.
      Parameters:
      newValue - is new value for the emissiveColor field.
      Returns:
      X3DOneSidedMaterialNode - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
    • getEmissiveTextureMapping

      String getEmissiveTextureMapping()
      Provide String value from inputOutput SFString field named emissiveTextureMapping.
      Returns:
      value of emissiveTextureMapping field
    • setEmissiveTextureMapping

      X3DOneSidedMaterialNode setEmissiveTextureMapping(String newValue)
      Accessor method to assign String value to inputOutput SFString field named emissiveTextureMapping.
      Parameters:
      newValue - is new value for the emissiveTextureMapping field.
      Returns:
      X3DOneSidedMaterialNode - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
    • getMetadata

      X3DMetadataObject getMetadata()
      Provide org.web3d.x3d.sai.Core.X3DMetadataObject instance (using a properly typed node) from inputOutput SFNode field metadata.
      Specified by:
      getMetadata in interface X3DAppearanceChildNode
      Specified by:
      getMetadata in interface X3DMaterialNode
      Specified by:
      getMetadata in interface X3DNode
      Returns:
      value of metadata field
      See Also:
      X3D Scene Authoring Hints: Metadata Nodes
    • setMetadata

      X3DOneSidedMaterialNode setMetadata(X3DMetadataObject newValue)
      Accessor method to assign org.web3d.x3d.sai.Core.X3DMetadataObject instance (using a properly typed node) to inputOutput SFNode field metadata.
      Specified by:
      setMetadata in interface X3DAppearanceChildNode
      Specified by:
      setMetadata in interface X3DMaterialNode
      Specified by:
      setMetadata in interface X3DNode
      Parameters:
      newValue - is new value for the metadata field.
      Returns:
      X3DOneSidedMaterialNode - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
      See Also:
      X3D Scene Authoring Hints: Metadata Nodes
    • getNormalScale

      float getNormalScale()
      Provide float value within allowed range of [0,infinity) from inputOutput SFFloat field named normalScale.
      Returns:
      value of normalScale field
    • setNormalScale

      X3DOneSidedMaterialNode setNormalScale(float newValue)
      Accessor method to assign float value to inputOutput SFFloat field named normalScale.
      Parameters:
      newValue - is new value for the normalScale field.
      Returns:
      X3DOneSidedMaterialNode - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
    • getNormalTextureMapping

      String getNormalTextureMapping()
      Provide String value from inputOutput SFString field named normalTextureMapping.
      Returns:
      value of normalTextureMapping field
    • setNormalTextureMapping

      X3DOneSidedMaterialNode setNormalTextureMapping(String newValue)
      Accessor method to assign String value to inputOutput SFString field named normalTextureMapping.
      Parameters:
      newValue - is new value for the normalTextureMapping field.
      Returns:
      X3DOneSidedMaterialNode - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).