pymel.core.nodetypes.PhongE

digraph inheritance9a6e17ec63 {
rankdir=TB;
ranksep=0.15;
nodesep=0.15;
size="8.0, 12.0";
  "PhongE" [fontname=Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans,URL="#pymel.core.nodetypes.PhongE",style="setlinewidth(0.5)",height=0.25,shape=box,fontsize=8];
  "Reflect" -> "PhongE" [arrowsize=0.5,style="setlinewidth(0.5)"];
  "Reflect" [fontname=Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans,URL="pymel.core.nodetypes.Reflect.html#pymel.core.nodetypes.Reflect",style="setlinewidth(0.5)",height=0.25,shape=box,fontsize=8];
  "Lambert" -> "Reflect" [arrowsize=0.5,style="setlinewidth(0.5)"];
  "PyNode" [fontname=Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans,URL="../pymel.core.general/pymel.core.general.PyNode.html#pymel.core.general.PyNode",style="setlinewidth(0.5)",height=0.25,shape=box,fontsize=8];
  "ProxyUnicode" -> "PyNode" [arrowsize=0.5,style="setlinewidth(0.5)"];
  "Lambert" [fontname=Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans,URL="pymel.core.nodetypes.Lambert.html#pymel.core.nodetypes.Lambert",style="setlinewidth(0.5)",height=0.25,shape=box,fontsize=8];
  "DependNode" -> "Lambert" [arrowsize=0.5,style="setlinewidth(0.5)"];
  "ProxyUnicode" [fontname=Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans,URL="../pymel.util.utilitytypes/pymel.util.utilitytypes.ProxyUnicode.html#pymel.util.utilitytypes.ProxyUnicode",style="setlinewidth(0.5)",height=0.25,shape=box,fontsize=8];
  "DependNode" [fontname=Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans,URL="pymel.core.nodetypes.DependNode.html#pymel.core.nodetypes.DependNode",style="setlinewidth(0.5)",height=0.25,shape=box,fontsize=8];
  "PyNode" -> "DependNode" [arrowsize=0.5,style="setlinewidth(0.5)"];
}

class PhongE(*args, **kwargs)
getHighlightSize()

Retrieves the value of the “highlightSize” attribute of a shader node. This attribute represents the surface color of the shader.

Return type:float

Derived from api method maya.OpenMaya.MFnPhongEShader.highlightSize

getRoughness()

Retrieves the value of the “roughness” attribute of a shader node.

Return type:float

Derived from api method maya.OpenMaya.MFnPhongEShader.roughness

getWhiteness()

Retrieves the value of the “whiteness” attribute of a shader node. This attribute represents the surface transparency of the shader.

Return type:Color

Derived from api method maya.OpenMaya.MFnPhongEShader.whiteness

setHighlightSize(highlight_size)

Sets the value of the “highlightSize” attribute of a shader node.

Parameters:
highlight_size : float

value to which the attribute will be set.

Derived from api method maya.OpenMaya.MFnPhongEShader.setHighlightSize

setRoughness(roughness)

Sets the value of the “roughness” attribute of a shader node.

Parameters:
roughness : float

value to which the attribute will be set.

Derived from api method maya.OpenMaya.MFnPhongEShader.setRoughness

setWhiteness(whiteness)

Sets the value of the “whiteness” attribute of a shader node.

Parameters:
whiteness : Color

value to which the attribute will be set.

Derived from api method maya.OpenMaya.MFnPhongEShader.setWhiteness

Previous topic

pymel.core.nodetypes.Phong

Next topic

pymel.core.nodetypes.Physical_lens_dof

Core

Core Modules

Other Modules

This Page