org.rajawali3d.materials / Material / getSpecularMethod

getSpecularMethod

open fun getSpecularMethod(): ISpecularMethod!

The specular method specifies the mirror-like reflection of light (or of other kinds of wave) from a surface, in which light from a single incoming direction (a ray) is reflected into a single outgoing direction. This can be set using the setSpecularMethod() method:


      material.setSpecularMethod(new SpecularMethod.Phong());
      

Return
ISpecularMethod!: The currently used specular method

open fun getSpecularMethod(): ISpecularMethod!

The specular method specifies the mirror-like reflection of light (or of other kinds of wave) from a surface, in which light from a single incoming direction (a ray) is reflected into a single outgoing direction. This can be set using the setSpecularMethod() method:


      material.setSpecularMethod(new SpecularMethod.Phong());
      

Return
ISpecularMethod!: The currently used specular method