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.

Warning: this is an abstract interface that cannot be instantiated as a concrete object. Java programmers typically only need to use concrete objects provided by the org.web3d.x3d.jsail classes.
Package hint: This interface is defined by the X3D Java Language Binding Specification for the Scene Authoring Interface (SAI).
See Also:
  • Method Details

    • 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:
    • setMetadata

      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:
    • 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).