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
Sets the value of the “cosPower” attribute of a shader node.
| Parameters: |
|
|---|
Derived from api method maya.OpenMaya.MFnPhongShader.setCosPower