com.aspose.threed

Interfaces

Classes

Enums

Exceptions

Class LambertMaterial

  • Direct Known Subclasses:
    PhongMaterial


    public class LambertMaterial
    extends Material
    Material for lambert shading model
    • Constructor Detail

      • LambertMaterial

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

        public LambertMaterial(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 clampped.
      • 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 clampped.
        Parameters:
        value - New value