Class LambertMaterial

    • Constructor Detail

      • LambertMaterial

        public LambertMaterial()
        Initializes a new instance of the LambertMaterial class.
      • LambertMaterial

        public LambertMaterial​(java.lang.String name)
        Initializes a new instance of the LambertMaterial class.
        Parameters:
        name - Name
    • Method Detail

      • getEmissiveColor

        public Vector3 getEmissiveColor()
        Gets the emissive color
      • setEmissiveColor

        public void setEmissiveColor​(Vector3 value)
        Sets the emissive color
        Parameters:
        value - New value
      • getAmbientColor

        public Vector3 getAmbientColor()
        Gets the ambient color
      • setAmbientColor

        public void setAmbientColor​(Vector3 value)
        Sets the ambient color
        Parameters:
        value - New value
      • getDiffuseColor

        public Vector3 getDiffuseColor()
        Gets the diffuse color
      • setDiffuseColor

        public void setDiffuseColor​(Vector3 value)
        Sets the diffuse color
        Parameters:
        value - New value
      • getTransparentColor

        public Vector3 getTransparentColor()
        Gets the transparent color.
      • setTransparentColor

        public void setTransparentColor​(Vector3 value)
        Sets the transparent color.
        Parameters:
        value - New value
      • getTransparency

        public double getTransparency()
        Gets the transparency factor. The factor should be ranged between 0(0%, fully opaque) and 1(100%, fully transparent) Any invalid factor value will be clamped.
      • setTransparency

        public void setTransparency​(double value)
        Sets the transparency factor. The factor should be ranged between 0(0%, fully opaque) and 1(100%, fully transparent) Any invalid factor value will be clamped.
        Parameters:
        value - New value