pymel.core.nodetypes.Phong

digraph inheritance77d958d4c5 {
rankdir=TB;
ranksep=0.15;
nodesep=0.15;
size="8.0, 12.0";
  "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)"];
  "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)"];
  "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)"];
  "Phong" [fontname=Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans,URL="#pymel.core.nodetypes.Phong",style="setlinewidth(0.5)",height=0.25,shape=box,fontsize=8];
  "Reflect" -> "Phong" [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 Phong(*args, **kwargs)
getCosPower()

Retrieves the value of the “cosPower” attribute of a phong shader node. This attribute determines the size of specular highlights produced by the shader.

Return type:float

Derived from api method maya.OpenMaya.MFnPhongShader.cosPower

setCosPower(cos_power)

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

Parameters:
cos_power : float

value to which the attribute will be set.

Derived from api method maya.OpenMaya.MFnPhongShader.setCosPower

Previous topic

pymel.core.nodetypes.PfxToon

Next topic

pymel.core.nodetypes.PhongE

Core

Core Modules

Other Modules

This Page