Interface Appearance.Material

Enclosing interface:
Appearance

public static interface Appearance.Material
  • Method Details

    • getFace

      Gets the face to apply the material
      Returns:
      the face
    • setFace

      void setFace(Appearance.Material.Face face)
      Sets the face where the material will be applied
      Parameters:
      face - the face
    • getAmbient

      Color getAmbient()
      Get the ambient color of the material
      Returns:
      the ambien color
    • setAmbient

      void setAmbient(Color ambient)
      Set the ambient color of the material
      Parameters:
      ambient - the ambien color
    • getDiffuse

      Color getDiffuse()
      Get the diffuse color of the material
      Returns:
      the diffuse color
    • setDiffuse

      void setDiffuse(Color diffuse)
      Set the diffuse color of the material
      Parameters:
      diffuse - the diffuse color
    • getSpecular

      Color getSpecular()
      Get the specular color of the material
      Returns:
      the specular color
    • setSpecular

      void setSpecular(Color specular)
      Set the specular color of the material
      Parameters:
      specular - the specular color
    • getEmission

      Color getEmission()
      Get the emissive color of the material
      Returns:
      the emissive color
    • setEmission

      void setEmission(Color emission)
      Set the emissive color of the material
      Parameters:
      emission - the emissive color
    • getShininess

      float getShininess()
      Get the shininess of the material
      Returns:
      a float representing the shininess
    • setShininess

      void setShininess(float shininess)
      Set the shininess of the material
      Parameters:
      shininess - a float representing the shininess