pymel.core.nodetypes.Phong — PyMEL 1.0.7 documentation

pymel.core.nodetypes.Phong

Inheritance diagram of Phong

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 Modules

Type Modules

Other Modules

This Page