org.rajawali3d.materials / Material / getDiffuseMethod

getDiffuseMethod

open fun getDiffuseMethod(): IDiffuseMethod!

The diffuse method specifies the reflection of light from a surface such that an incident ray is reflected at many angles rather than at just one angle as in the case of specular reflection. This can be set using the setDiffuseMethod() method:


      material.setDiffuseMethod(new DiffuseMethod.Lambert());
      

Return
IDiffuseMethod!: the currently used diffuse method

open fun getDiffuseMethod(): IDiffuseMethod!

The diffuse method specifies the reflection of light from a surface such that an incident ray is reflected at many angles rather than at just one angle as in the case of specular reflection. This can be set using the setDiffuseMethod() method:


      material.setDiffuseMethod(new DiffuseMethod.Lambert());
      

Return
IDiffuseMethod!: the currently used diffuse method